summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qdialogbuttonbox.cpp
diff options
context:
space:
mode:
authorCasper van Donderen <casper.vandonderen@nokia.com>2011-09-30 07:56:46 (GMT)
committerCasper van Donderen <casper.vandonderen@nokia.com>2011-09-30 07:56:46 (GMT)
commit1a5b3356e5c07d4be19662fac1653ae98cddbbaa (patch)
treed6a129587483ba233b6d8908d1122864ce4ac2b1 /src/gui/widgets/qdialogbuttonbox.cpp
parentb5062aeeb4ad321424246ecb8bf7a0ffb9ac9990 (diff)
downloadQt-1a5b3356e5c07d4be19662fac1653ae98cddbbaa.zip
Qt-1a5b3356e5c07d4be19662fac1653ae98cddbbaa.tar.gz
Qt-1a5b3356e5c07d4be19662fac1653ae98cddbbaa.tar.bz2
Add another part of the source code to the snippet.
Fixes: QTBUG-21765
Diffstat (limited to 'src/gui/widgets/qdialogbuttonbox.cpp')
-rw-r--r--src/gui/widgets/qdialogbuttonbox.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/qdialogbuttonbox.cpp b/src/gui/widgets/qdialogbuttonbox.cpp
index 6c29141..e6842b3 100644
--- a/src/gui/widgets/qdialogbuttonbox.cpp
+++ b/src/gui/widgets/qdialogbuttonbox.cpp
@@ -94,6 +94,7 @@ QT_BEGIN_NAMESPACE
specifying their role.
\snippet examples/dialogs/extension/finddialog.cpp 1
+ \snippet examples/dialogs/extension/finddialog.cpp 6
Alternatively, QDialogButtonBox provides several standard buttons (e.g. OK, Cancel, Save)
that you can use. They exist as flags so you can OR them together in the constructor.