Need to to take into account the new signals confOk() and needRestart()
This commit is contained in:
parent
dbb56bbc50
commit
ec979ff2b8
|
@ -38,9 +38,10 @@ ConfigurationDialog::ConfigurationDialog(QWidget* parent): QDialog(parent) {
|
|||
setWindowTitle("Configure window");
|
||||
|
||||
ConfigurationWidget* confWidget = Configuration::get()->buildWidget(ConfigurationWidget::StandAlone);
|
||||
connect(confWidget , SIGNAL(checkOk()), this, SLOT(close()));
|
||||
connect(confWidget->getCancelButton(), SIGNAL(clicked()), this, SLOT(close()));
|
||||
connect(confWidget->getSaveButton() , SIGNAL(clicked()), this, SIGNAL(saveToFile()));
|
||||
connect(confWidget , SIGNAL(confOk()) , this, SLOT(close()));
|
||||
connect(confWidget->getCancelButton(), SIGNAL(clicked()) , this, SLOT(close()));
|
||||
connect(confWidget->getSaveButton() , SIGNAL(clicked()) , this, SIGNAL(saveToFile()));
|
||||
connect(confWidget , SIGNAL(needRestart()), this, SIGNAL(needRestart()));
|
||||
|
||||
QVBoxLayout* vLayout = new QVBoxLayout ();
|
||||
vLayout->addWidget(confWidget);
|
||||
|
|
|
@ -38,6 +38,7 @@ class ConfigurationDialog : public QDialog {
|
|||
|
||||
signals:
|
||||
void saveToFile();
|
||||
void needRestart();
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue