From a4977f2a908934c1654a195826dc6b21575c2a19 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 26 Mar 2016 21:35:35 -0700 Subject: QML UI: add some diagnostics to App log Signed-off-by: Dirk Hohndel --- qt-mobile/qml/CloudCredentials.qml | 2 ++ qt-mobile/qml/main.qml | 1 + 2 files changed, 3 insertions(+) (limited to 'qt-mobile/qml') 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 -- cgit v1.2.3-70-g09d2