From becaa1227f5fcb987c1ebe7173c00235d57cf81e Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 17 Feb 2020 10:30:56 -0800 Subject: [PATCH] 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 --- mobile-widgets/qml/main.qml | 10 ++++++++++ 1 file changed, 10 insertions(+) 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")