QML-UI: allow toggling verbose mode from the UI

Hidden in the Developer menu.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-12-19 18:41:10 -08:00
parent 41c59c1c8d
commit c3ebeadb34
3 changed files with 28 additions and 0 deletions

View file

@ -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