mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Preferences: correctly hook up the signals to enable/disable cloud storage
This way the menu state matches the actual verification state again. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
77d7e773b9
commit
111a153295
4 changed files with 11 additions and 5 deletions
|
@ -27,7 +27,7 @@ PreferencesDialog* PreferencesDialog::instance()
|
|||
|
||||
void PreferencesDialog::emitSettingsChanged()
|
||||
{
|
||||
emit settingsChanged();
|
||||
emit settingsChanged();
|
||||
}
|
||||
|
||||
PreferencesDialog::PreferencesDialog()
|
||||
|
@ -121,6 +121,7 @@ void PreferencesDialog::refreshPages()
|
|||
void PreferencesDialog::applyRequested(bool closeIt)
|
||||
{
|
||||
Q_FOREACH(AbstractPreferencesWidget *page, pages) {
|
||||
connect(page, &AbstractPreferencesWidget::settingsChanged, this, &PreferencesDialog::settingsChanged, Qt::UniqueConnection);
|
||||
page->syncSettings();
|
||||
}
|
||||
emit settingsChanged();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue