diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2009-07-17 18:51:31 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2009-07-17 18:51:31 (GMT) |
commit | df9c3b1a6846a77a3f0c0cada1cae9748040c5f3 (patch) | |
tree | 4bc262172c1255f866559e86f0d4fdfbe83fbb78 /Source/QtDialog/CMakeSetupDialog.cxx | |
parent | 17acf0a310a8f10543c2be9fe902095a5a3c3c1d (diff) | |
download | CMake-df9c3b1a6846a77a3f0c0cada1cae9748040c5f3.zip CMake-df9c3b1a6846a77a3f0c0cada1cae9748040c5f3.tar.gz CMake-df9c3b1a6846a77a3f0c0cada1cae9748040c5f3.tar.bz2 |
ENH: Edit button label for new changes dialog.
Diffstat (limited to 'Source/QtDialog/CMakeSetupDialog.cxx')
-rw-r--r-- | Source/QtDialog/CMakeSetupDialog.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/QtDialog/CMakeSetupDialog.cxx b/Source/QtDialog/CMakeSetupDialog.cxx index cafff1d..d873334 100644 --- a/Source/QtDialog/CMakeSetupDialog.cxx +++ b/Source/QtDialog/CMakeSetupDialog.cxx @@ -978,9 +978,9 @@ void CMakeSetupDialog::showUserChanges() QTextEdit* textedit = new QTextEdit(&dialog); textedit->setReadOnly(true); l->addWidget(textedit); - QDialogButtonBox* btns = new QDialogButtonBox(QDialogButtonBox::Ok, + QDialogButtonBox* btns = new QDialogButtonBox(QDialogButtonBox::Close, Qt::Horizontal, &dialog); - QObject::connect(btns, SIGNAL(accepted()), &dialog, SLOT(accept())); + QObject::connect(btns, SIGNAL(rejected()), &dialog, SLOT(accept())); l->addWidget(btns); QString command; |