From 677bbb77d90c7e3e60cd7de39488107d7cbb65d9 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 30 Jul 2016 13:05:28 -0700 Subject: Send the appropriate signal when gitLocalOnly changes Signed-off-by: Dirk Hohndel --- core/subsurface-qt/SettingsObjectWrapper.cpp | 1 + core/subsurface-qt/SettingsObjectWrapper.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'core/subsurface-qt') 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); -- cgit v1.2.3-70-g09d2