QML UI: add checkbox to show/hide developer menu

Add a checkbox to the preferences page to facilitate selective visibility of the developer menu. With the coresponding function in qmlmanager.

Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
This commit is contained in:
Joakim Bygdell 2017-07-19 16:35:46 +02:00 committed by Dirk Hohndel
parent 0eef27376a
commit a66d876ed0
4 changed files with 61 additions and 0 deletions

View file

@ -251,6 +251,7 @@ if you have network connectivity and want to sync your data to cloud storage."),
},
Kirigami.Action {
text: qsTr("Developer")
visible: manager.developer
Kirigami.Action {
text: qsTr("App log")
onTriggered: {