From cc77046db505143e47aca1a7d08e842384c020cd Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Sun, 17 Jun 2018 17:56:07 +0200 Subject: [PATCH] mobile: move call to savePreferences back to manager. calls to savePreferences was moved to prefs. in b8eb348f546291c49e2d606649b3c85d23e43782, but the corresponding C++ code was not merged. Revert call to savePreferences to manager. Signed-off-by: Jan Iversen --- mobile-widgets/qml/Settings.qml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mobile-widgets/qml/Settings.qml b/mobile-widgets/qml/Settings.qml index adb6b1766..97909a3f5 100644 --- a/mobile-widgets/qml/Settings.qml +++ b/mobile-widgets/qml/Settings.qml @@ -137,7 +137,7 @@ Kirigami.ScrollablePage { onClicked: { blueTheme() prefs.theme = subsurfaceTheme.currentTheme - prefs.savePreferences() + manager.savePreferences() } } @@ -190,7 +190,7 @@ Kirigami.ScrollablePage { onClicked: { pinkTheme() prefs.theme = subsurfaceTheme.currentTheme - prefs.savePreferences() + manager.savePreferences() } } @@ -242,7 +242,7 @@ Kirigami.ScrollablePage { onClicked: { darkTheme() prefs.theme = subsurfaceTheme.currentTheme - prefs.savePreferences() + manager.savePreferences() } } } @@ -279,7 +279,7 @@ Kirigami.ScrollablePage { Layout.preferredWidth: gridWidth * 0.25 onEditingFinished: { prefs.distanceThreshold = distanceThreshold.text - prefs.savePreferences() + manager.savePreferences() } } @@ -295,7 +295,7 @@ Kirigami.ScrollablePage { Layout.preferredWidth: gridWidth * 0.25 onEditingFinished: { prefs.timeThreshold = timeThreshold.text - prefs.savePreferences() + manager.savePreferences() } }