fix QMetaObject::connectSlotsByName: No matching signal for on_resetButton_clicked() message by commenting handlers out

This commit is contained in:
UdjinM6 2014-11-22 07:45:31 +03:00
parent df893399ef
commit 39237b60f7
2 changed files with 6 additions and 6 deletions

View File

@ -183,7 +183,7 @@ void OptionsDialog::setSaveButtonState(bool fState)
ui->okButton->setEnabled(fState);
}
void OptionsDialog::on_resetButton_clicked()
/*void OptionsDialog::on_resetButton_clicked()
{
if(model)
{
@ -197,18 +197,18 @@ void OptionsDialog::on_resetButton_clicked()
disableApplyButton();
/* disable restart warning messages display */
// disable restart warning messages display
fRestartWarningDisplayed_Lang = fRestartWarningDisplayed_Proxy = true;
/* reset all options and save the default values (QSettings) */
// reset all options and save the default values (QSettings)
model->Reset();
mapper->toFirst();
mapper->submit();
/* re-enable restart warning messages display */
// re-enable restart warning messages display
fRestartWarningDisplayed_Lang = fRestartWarningDisplayed_Proxy = false;
}
}
}*/
void OptionsDialog::on_okButton_clicked()
{

View File

@ -36,7 +36,7 @@ private slots:
void disableSaveButtons();
/* set apply button and OK button state (enabled / disabled) */
void setSaveButtonState(bool fState);
void on_resetButton_clicked();
// void on_resetButton_clicked();
void on_okButton_clicked();
void on_cancelButton_clicked();
void on_applyButton_clicked();