mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
mobile: move call to savePreferences back to manager.
calls to savePreferences was moved to prefs. in
b8eb348f54
, but the corresponding
C++ code was not merged.
Revert call to savePreferences to manager.
Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
a24f0d3107
commit
cc77046db5
1 changed files with 5 additions and 5 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue