|
|
|
|
@ -29,8 +29,8 @@ ChooseEngineDialog::ChooseEngineDialog( const QStringList &generators, const QMi |
|
|
|
|
QPushButton *okButton = buttonBox->button(QDialogButtonBox::Ok); |
|
|
|
|
okButton->setDefault(true); |
|
|
|
|
okButton->setShortcut(Qt::CTRL | Qt::Key_Return); |
|
|
|
|
connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept())); |
|
|
|
|
connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject())); |
|
|
|
|
connect(buttonBox, &QDialogButtonBox::accepted, this, &ChooseEngineDialog::accept); |
|
|
|
|
connect(buttonBox, &QDialogButtonBox::rejected, this, &ChooseEngineDialog::reject); |
|
|
|
|
okButton->setDefault(true); |
|
|
|
|
QWidget *main = new QWidget( this ); |
|
|
|
|
m_widget = new Ui_ChooseEngineWidget(); |
|
|
|
|
|