Send the appropriate signal when gitLocalOnly changes

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-07-30 13:05:28 -07:00
parent 0e31171087
commit 677bbb77d9
2 changed files with 2 additions and 1 deletions

View file

@ -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) :

View file

@ -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);