diff options
| author | Tomasz Sterna <tomek@xiaoka.com> | 2015-06-18 22:26:10 +0200 |
|---|---|---|
| committer | Tomasz Sterna <tomek@xiaoka.com> | 2015-06-18 22:26:10 +0200 |
| commit | 4716453e97602e60f58865692f7dc714f5f992e9 (patch) | |
| tree | eea4e4e04e5b0defaae53af0368f1903f28db8ef /app/qml/pages/AboutPage.qml | |
| parent | ff461247fe6416540f3e211aba40d61c1e359221 (diff) | |
Implemented togglable debug mode
Diffstat (limited to 'app/qml/pages/AboutPage.qml')
| -rw-r--r-- | app/qml/pages/AboutPage.qml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app/qml/pages/AboutPage.qml b/app/qml/pages/AboutPage.qml index fec0fb5..a674b65 100644 --- a/app/qml/pages/AboutPage.qml +++ b/app/qml/pages/AboutPage.qml @@ -1,10 +1,17 @@ import QtQuick 2.0 import QtQml 2.1 import Sailfish.Silica 1.0 +import org.nemomobile.configuration 1.0 Page { id: page + ConfigurationGroup { + id: settings + path: "/org/pebbled/settings" + property bool debug + } + SilicaFlickable { id: flickable anchors.fill: parent @@ -130,6 +137,15 @@ Page { } onClicked: Qt.openUrlExternally("mailto:bugs@xiaoka.com?subject=pebbled issue&body=describe your issue here") } + TextSwitch { + text: qsTr("Debug Mode") + description: qsTr("Enable daemon and app debugging") + checked: settings.debug + automaticCheck: true + onClicked: { + settings.debug = !settings.debug; + } + } } } } |
