diff options
author | Grace Karanja <gracie.karanja89@gmail.com> | 2015-08-19 10:18:26 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-08-31 15:49:09 -0700 |
commit | 9e53b3082c1641db91c3c229b94b7146f18fd955 (patch) | |
tree | a6ad022e91d5bfc0bc7360fe9a9c5378580ecd1b /qt-mobile/main.qml | |
parent | ee13c5c2820a2549914ddd19d039ba1e3ebb1d08 (diff) | |
download | subsurface-9e53b3082c1641db91c3c229b94b7146f18fd955.tar.gz |
QML UI: Add ViewLog menu
Add a menu entry to show the application log.
Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
Diffstat (limited to 'qt-mobile/main.qml')
-rw-r--r-- | qt-mobile/main.qml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/qt-mobile/main.qml b/qt-mobile/main.qml index 33215f0df..b249a333a 100644 --- a/qt-mobile/main.qml +++ b/qt-mobile/main.qml @@ -52,6 +52,13 @@ ApplicationWindow { manager.saveChanges(); } } + + MenuItem { + text: "View Log" + onTriggered: { + stackView.push(logWindow) + } + } } StackView { @@ -169,4 +176,9 @@ ApplicationWindow { id: downloadDivesWindow visible: false } + + Log { + id: logWindow + visible: false + } } |