ENH: Edit button label for new changes dialog.

This commit is contained in:
Clinton Stimpson 2009-07-17 14:51:31 -04:00
parent 17acf0a310
commit df9c3b1a68
1 changed files with 2 additions and 2 deletions

View File

@ -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;