summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/updating-selections/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/doc/snippets/updating-selections/window.cpp')
-rw-r--r--src/widgets/doc/snippets/updating-selections/window.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/doc/snippets/updating-selections/window.cpp b/src/widgets/doc/snippets/updating-selections/window.cpp
index eaa37b8c87..4ac9b49552 100644
--- a/src/widgets/doc/snippets/updating-selections/window.cpp
+++ b/src/widgets/doc/snippets/updating-selections/window.cpp
@@ -65,11 +65,11 @@ MainWindow::MainWindow(QWidget *parent)
selectionModel = table->selectionModel();
connect(selectionModel,
- SIGNAL(selectionChanged(const QItemSelection &, const QItemSelection &)),
- this, SLOT(updateSelection(const QItemSelection &, const QItemSelection &)));
+ SIGNAL(selectionChanged(QItemSelection,QItemSelection)),
+ this, SLOT(updateSelection(QItemSelection,QItemSelection)));
connect(selectionModel,
- SIGNAL(currentChanged(const QModelIndex &, const QModelIndex &)),
- this, SLOT(changeCurrent(const QModelIndex &, const QModelIndex &)));
+ SIGNAL(currentChanged(QModelIndex,QModelIndex)),
+ this, SLOT(changeCurrent(QModelIndex,QModelIndex)));
statusBar();
setCentralWidget(table);