From 1b074838308b6377af1461c4bd69028c193edd17 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Sun, 28 Aug 2016 20:20:53 -0300 Subject: Settings update: Fix git_local_only loading Thanks to the unittesting. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- core/subsurface-qt/SettingsObjectWrapper.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/subsurface-qt') diff --git a/core/subsurface-qt/SettingsObjectWrapper.cpp b/core/subsurface-qt/SettingsObjectWrapper.cpp index 55670eb22..a329e0452 100644 --- a/core/subsurface-qt/SettingsObjectWrapper.cpp +++ b/core/subsurface-qt/SettingsObjectWrapper.cpp @@ -1111,6 +1111,9 @@ void CloudStorageSettings::setGitLocalOnly(bool value) { if (value == prefs.git_local_only) return; + QSettings s; + s.beginGroup("CloudStorage"); + s.setValue("git_local_only", value); prefs.git_local_only = value; emit gitLocalOnlyChanged(value); } -- cgit v1.2.3-70-g09d2