summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-10-03 09:22:58 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-10-03 09:22:58 (GMT)
commit06c23ac8a6d03af3b9674c8c7850560a0973b2fb (patch)
tree69df44d6761ffc584327a0a3c00ad29c3cb058bf /examples
parent1f459f4040845919ffd46cea35958486f41abb3c (diff)
parent3c6f31d6b7ec382e18cfaabf5b9d6e7e56304029 (diff)
downloadQt-06c23ac8a6d03af3b9674c8c7850560a0973b2fb.zip
Qt-06c23ac8a6d03af3b9674c8c7850560a0973b2fb.tar.gz
Qt-06c23ac8a6d03af3b9674c8c7850560a0973b2fb.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-doc-staging into master-integration
* 'master' of scm.dev.nokia.troll.no:qt/qt-doc-staging: Added text about -random and -seed options in QTest to changelog Add another part of the source code to the snippet. Update changes-4.8.0 Update translation sources. Update the changelog for qdoc in 4.8
Diffstat (limited to 'examples')
-rw-r--r--examples/dialogs/extension/finddialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/dialogs/extension/finddialog.cpp b/examples/dialogs/extension/finddialog.cpp
index 2ce0391..2457a5b 100644
--- a/examples/dialogs/extension/finddialog.cpp
+++ b/examples/dialogs/extension/finddialog.cpp
@@ -104,9 +104,11 @@ FindDialog::FindDialog(QWidget *parent)
connect(backSoftKeyAction, SIGNAL(triggered()), qApp, SLOT(quit()));
addAction(backSoftKeyAction);
#else
+//! [6]
buttonBox = new QDialogButtonBox(Qt::Vertical);
buttonBox->addButton(findButton, QDialogButtonBox::ActionRole);
buttonBox->addButton(moreButton, QDialogButtonBox::ActionRole);
+//! [6]
connect(moreButton, SIGNAL(toggled(bool)), extension, SLOT(setVisible(bool)));
#endif