summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/qlistwidget-using
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2012-07-12 22:22:14 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-13 12:09:42 +0200
commita1590325ca45406b54f80d98c7ab38f2a415d99b (patch)
tree96918ab714a269a391eb0a9e34264511a6067281 /src/widgets/doc/snippets/qlistwidget-using
parenta42bc1e92331d709fab9f2e4d28e008874aef9de (diff)
doc/snippets: normalize signals/slots
There's one in corelib that has a comment // slower due to signature normalization at runtime I obviously didn't change that one. This is the result of running util/normalize --modify from Qt 4.7 with manual review. Change-Id: I0ffb2305800a9cb746b7f8a4eb710702d64f1b92 Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
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());