diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-07-30 13:05:28 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-07-30 13:06:36 -0700 |
commit | 677bbb77d90c7e3e60cd7de39488107d7cbb65d9 (patch) | |
tree | abbaffa8f9868745fb068f40b160a193ead50029 /core/subsurface-qt | |
parent | 0e3117108736553e4921d6b493baa1005be39e2b (diff) | |
download | subsurface-677bbb77d90c7e3e60cd7de39488107d7cbb65d9.tar.gz |
Send the appropriate signal when gitLocalOnly changes
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/subsurface-qt')
-rw-r--r-- | core/subsurface-qt/SettingsObjectWrapper.cpp | 1 | ||||
-rw-r--r-- | core/subsurface-qt/SettingsObjectWrapper.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/core/subsurface-qt/SettingsObjectWrapper.cpp b/core/subsurface-qt/SettingsObjectWrapper.cpp index 4604abfd7..b0e552bf2 100644 --- a/core/subsurface-qt/SettingsObjectWrapper.cpp +++ b/core/subsurface-qt/SettingsObjectWrapper.cpp @@ -827,6 +827,7 @@ void CloudStorageSettings::setGitUrl(const QString& value) void CloudStorageSettings::setGitLocalOnly(bool value) { prefs.git_local_only = value; + emit gitLocalOnlyChanged(value); } DivePlannerSettings::DivePlannerSettings(QObject *parent) : diff --git a/core/subsurface-qt/SettingsObjectWrapper.h b/core/subsurface-qt/SettingsObjectWrapper.h index 3b19c9a32..c1fd8a7ef 100644 --- a/core/subsurface-qt/SettingsObjectWrapper.h +++ b/core/subsurface-qt/SettingsObjectWrapper.h @@ -278,7 +278,7 @@ public: bool savePasswordLocal() const; short verificationStatus() const; bool backgroundSync() const; - bool gitLocalOnly() const; + bool gitLocalOnly() const; public slots: void setPassword(const QString& value); |