mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
fix QMetaObject::connectSlotsByName: No matching signal for on_resetButton_clicked() message by commenting handlers out
This commit is contained in:
parent
df893399ef
commit
39237b60f7
@ -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()
|
||||
{
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user