mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile-widgets: make show_developer persistent
Remove developer from qmlprefs and use qPref instead Update qml show_developer is saved on disk, and thus remembered between starts. Signed-off-by: Jan Iversen <jani@apache.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f8e9fb72f1
commit
c454f6954f
4 changed files with 3 additions and 18 deletions
|
|
@ -363,10 +363,10 @@ Kirigami.ScrollablePage {
|
|||
}
|
||||
SsrfSwitch {
|
||||
id: developerButton
|
||||
checked: prefs.developer
|
||||
checked: PrefDisplay.show_developer
|
||||
Layout.preferredWidth: gridWidth * 0.25
|
||||
onClicked: {
|
||||
prefs.developer = checked
|
||||
PrefDisplay.show_developer = checked
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue