summaryrefslogtreecommitdiffstats
path: root/examples/tutorials/modelview/5_edit/modelview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tutorials/modelview/5_edit/modelview.cpp')
-rwxr-xr-xexamples/tutorials/modelview/5_edit/modelview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/tutorials/modelview/5_edit/modelview.cpp b/examples/tutorials/modelview/5_edit/modelview.cpp
index d8853c9..a6c6ef5 100755
--- a/examples/tutorials/modelview/5_edit/modelview.cpp
+++ b/examples/tutorials/modelview/5_edit/modelview.cpp
@@ -48,13 +48,13 @@ ModelView::ModelView(QWidget *parent)
tableView = new QTableView(this);
setCentralWidget(tableView);
QAbstractTableModel *myModel = new MyModel(this);
- tableView->setModel( myModel );
+ tableView->setModel(myModel);
//transfer changes to the model to the window title
- connect(myModel, SIGNAL(editCompleted(const QString &) ), this, SLOT(setWindowTitle(const QString &)));
+ connect(myModel, SIGNAL(editCompleted(const QString &)), this, SLOT(setWindowTitle(const QString &)));
}
void ModelView::showWindowTitle(const QString & title)
{
-setWindowTitle( title );
+setWindowTitle(title);
}