diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-12-19 18:41:10 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-12-19 18:41:50 -0800 |
commit | c3ebeadb340300a04158d677ff52a53523698921 (patch) | |
tree | 9409266da4ef654f9ea34e686a6f5a27c9696168 /qt-mobile/qml | |
parent | 41c59c1c8d0d05ad8169aed9a039259d5a707570 (diff) | |
download | subsurface-c3ebeadb340300a04158d677ff52a53523698921.tar.gz |
QML-UI: allow toggling verbose mode from the UI
Hidden in the Developer menu.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml')
-rw-r--r-- | qt-mobile/qml/main.qml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml index cd1e2501a..30e79e22c 100644 --- a/qt-mobile/qml/main.qml +++ b/qt-mobile/qml/main.qml @@ -106,6 +106,15 @@ MobileComponents.ApplicationWindow { stackView.push(themetest) } } + Action { + checkable: true + checked: manager.verboseEnabled + text: checked ? "Disable verbose (for adb logcat)" : "Enable verbose (for adb logcat)" + onToggled: { + manager.verboseEnabled = checked; + checked = !checked; + } + } } ] // end actions |