diff options
author | jan Iversen <jani@apache.org> | 2018-06-17 17:56:07 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-06-18 06:52:59 +0900 |
commit | cc77046db505143e47aca1a7d08e842384c020cd (patch) | |
tree | 073c19b77b6102b63d056d175f3f47b7a5d48c44 /mobile-widgets/qml/Settings.qml | |
parent | a24f0d310792d0052064c5323b235591ff56efd9 (diff) | |
download | subsurface-cc77046db505143e47aca1a7d08e842384c020cd.tar.gz |
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 <jani@apache.org>
Diffstat (limited to 'mobile-widgets/qml/Settings.qml')
-rw-r--r-- | mobile-widgets/qml/Settings.qml | 10 |
1 files 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() } } |