summaryrefslogtreecommitdiffstats
path: root/qt-mobile
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-26 21:35:35 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-26 21:49:20 -0700
commita4977f2a908934c1654a195826dc6b21575c2a19 (patch)
tree77e5706f6e12f769f3b74d66581e74b30be0de85 /qt-mobile
parentd4357b3b21c803a663d8f2cb1c0af2408a1cf2e8 (diff)
downloadsubsurface-a4977f2a908934c1654a195826dc6b21575c2a19.tar.gz
QML UI: add some diagnostics to App log
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile')
-rw-r--r--qt-mobile/qml/CloudCredentials.qml2
-rw-r--r--qt-mobile/qml/main.qml1
2 files changed, 3 insertions, 0 deletions
diff --git a/qt-mobile/qml/CloudCredentials.qml b/qt-mobile/qml/CloudCredentials.qml
index 6da8b0bab..ed3ff0a80 100644
--- a/qt-mobile/qml/CloudCredentials.qml
+++ b/qt-mobile/qml/CloudCredentials.qml
@@ -26,9 +26,11 @@ Item {
onVisibleChanged: {
if (visible) {
+ manager.appendTextToLog("Credential scrn: show kbd was: " + (Qt.inputMethod.isVisible ? "visible" : "invisible"))
Qt.inputMethod.show()
login.forceActiveFocus()
} else {
+ manager.appendTextToLog("Credential scrn: hide kbd was: " + (Qt.inputMethod.isVisible ? "visible" : "invisible"))
Qt.inputMethod.hide()
}
}
diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml
index 7cb4963de..bb48d4cb7 100644
--- a/qt-mobile/qml/main.qml
+++ b/qt-mobile/qml/main.qml
@@ -46,6 +46,7 @@ MobileComponents.ApplicationWindow {
Action {
text: "Dive list"
onTriggered: {
+ manager.appendTextToLog("requested dive list with credential status " + manager.credentialStatus)
if (manager.credentialStatus == QMLManager.UNKNOWN) {
// the user has asked to change credentials - if the credentials before that
// were valid, go back to dive list