Apply settings immediately
This commit is contained in:
@@ -232,9 +232,12 @@ void SettingsDialog::AddPage(Page id, SettingsPage *page, QTreeWidgetItem *paren
|
||||
}
|
||||
|
||||
void SettingsDialog::Save() {
|
||||
|
||||
for (const PageData &data : pages_.values()) {
|
||||
data.page_->Save();
|
||||
}
|
||||
emit ReloadSettings();
|
||||
|
||||
}
|
||||
|
||||
void SettingsDialog::accept() {
|
||||
|
||||
@@ -113,6 +113,7 @@ class SettingsDialog : public QDialog {
|
||||
void ComboBoxLoadFromSettings(QSettings &s, QComboBox *combobox, QString setting, QString default_value);
|
||||
|
||||
signals:
|
||||
void ReloadSettings();
|
||||
void NotificationPreview(OSD::Behaviour, QString, QString);
|
||||
|
||||
private slots:
|
||||
|
||||
Reference in New Issue
Block a user