Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2017-01-26 12:00:19 +0300
committerMarkus Goetz <markus@woboq.com>2017-01-27 17:59:59 +0300
commitb76a9654ccba246099ae8305305bc07dd188d764 (patch)
tree6eb7810050dd17eeb88904e96924d5c2c49079fd /src/gui/generalsettings.h
parent38cf459b3efb72bbb6a0a62dc8780325dd32bc4d (diff)
General Settings: Make sure to reload the settings when an account is added
The Size limit, or confirmation checkboxes might have changed. We need to guard against saving if the control changes while we are loading Issue: https://github.com/owncloud/client/pull/5340#issuecomment-274878023
Diffstat (limited to 'src/gui/generalsettings.h')
-rw-r--r--src/gui/generalsettings.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/generalsettings.h b/src/gui/generalsettings.h
index 1746f3fb5..740eddd71 100644
--- a/src/gui/generalsettings.h
+++ b/src/gui/generalsettings.h
@@ -45,13 +45,14 @@ private slots:
void slotToggleOptionalDesktopNotifications(bool);
void slotUpdateInfo();
void slotIgnoreFilesEditor();
+ void loadMiscSettings();
private:
- void loadMiscSettings();
Ui::GeneralSettings *_ui;
QPointer<IgnoreListEditor> _ignoreEditor;
QPointer<SyncLogDialog> _syncLogDialog;
+ bool _currentlyLoading = false;
};