diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-02-17 10:30:56 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-02-18 07:34:46 -0800 |
commit | becaa1227f5fcb987c1ebe7173c00235d57cf81e (patch) | |
tree | 63e3a6780e78b3b0a29a65cc2a9a405780c30f88 | |
parent | d6c47ad362f4f92cd6c89e5432163ac4124e0ba5 (diff) | |
download | subsurface-becaa1227f5fcb987c1ebe7173c00235d57cf81e.tar.gz |
mobile/developer: add menu entry to temporarily enable verbose mode
One could argue that this should be a preference. I like the fact that it isn't
persistent, though.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | mobile-widgets/qml/main.qml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index cd740685b..0b7870b97 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -517,6 +517,16 @@ if you have network connectivity and want to sync your data to cloud storage."), pageStack.push(themetest) } } + + Kirigami.Action { + text: qsTr("Enable verbose logging") + onTriggered: { + showPassiveNotification(qsTr("Not persistent"), 3000) + globalDrawer.close() + manager.verboseEnabled = true + } + } + /* disable for now Kirigami.Action { text: qsTr("Dive planner") |