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:
jan Iversen 2018-09-12 08:55:55 +02:00 committed by Dirk Hohndel
parent f8e9fb72f1
commit c454f6954f
4 changed files with 3 additions and 18 deletions

View file

@ -361,7 +361,7 @@ if you have network connectivity and want to sync your data to cloud storage."),
name: ":/icons/ic_adb.svg"
}
text: qsTr("Developer")
visible: prefs.developer
visible: PrefDisplay.show_developer
Kirigami.Action {
text: qsTr("App log")
onTriggered: {