summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/qlistwidget-using
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/doc/snippets/qlistwidget-using')
-rw-r--r--src/widgets/doc/snippets/qlistwidget-using/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/doc/snippets/qlistwidget-using/mainwindow.cpp b/src/widgets/doc/snippets/qlistwidget-using/mainwindow.cpp
index 8e30f7979b..6c998ce870 100644
--- a/src/widgets/doc/snippets/qlistwidget-using/mainwindow.cpp
+++ b/src/widgets/doc/snippets/qlistwidget-using/mainwindow.cpp
@@ -73,8 +73,8 @@ MainWindow::MainWindow()
connect(insertAction, SIGNAL(triggered()), this, SLOT(insertItem()));
connect(removeAction, SIGNAL(triggered()), this, SLOT(removeItem()));
connect(listWidget,
- SIGNAL(currentItemChanged(QListWidgetItem *, QListWidgetItem *)),
- this, SLOT(updateMenus(QListWidgetItem *)));
+ SIGNAL(currentItemChanged(QListWidgetItem*,QListWidgetItem*)),
+ this, SLOT(updateMenus(QListWidgetItem*)));
setupListItems();
updateMenus(listWidget->currentItem());