ENH: Edit button label for new changes dialog.
This commit is contained in:
parent
17acf0a310
commit
df9c3b1a68
|
@ -978,9 +978,9 @@ void CMakeSetupDialog::showUserChanges()
|
||||||
QTextEdit* textedit = new QTextEdit(&dialog);
|
QTextEdit* textedit = new QTextEdit(&dialog);
|
||||||
textedit->setReadOnly(true);
|
textedit->setReadOnly(true);
|
||||||
l->addWidget(textedit);
|
l->addWidget(textedit);
|
||||||
QDialogButtonBox* btns = new QDialogButtonBox(QDialogButtonBox::Ok,
|
QDialogButtonBox* btns = new QDialogButtonBox(QDialogButtonBox::Close,
|
||||||
Qt::Horizontal, &dialog);
|
Qt::Horizontal, &dialog);
|
||||||
QObject::connect(btns, SIGNAL(accepted()), &dialog, SLOT(accept()));
|
QObject::connect(btns, SIGNAL(rejected()), &dialog, SLOT(accept()));
|
||||||
l->addWidget(btns);
|
l->addWidget(btns);
|
||||||
|
|
||||||
QString command;
|
QString command;
|
||||||
|
|
Loading…
Reference in New Issue