diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-12-27 12:20:36 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-12-27 12:20:36 -0800 |
commit | 81999e4667a2bc50ceb0a33f5101d339770d1c87 (patch) | |
tree | 9593cf0857b1f17f378438bb860e4dd7debcf070 /qt-mobile | |
parent | 97c23d6ee5e8ca03c7dfafe35bf7491f73ef9d4e (diff) | |
download | subsurface-81999e4667a2bc50ceb0a33f5101d339770d1c87.tar.gz |
QML UI: add debug output for echoMode
For some users by default the password characters aren't hidden. Maybe the
debugging output will help us understand what's going on.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile')
-rw-r--r-- | qt-mobile/qml/CloudCredentials.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-mobile/qml/CloudCredentials.qml b/qt-mobile/qml/CloudCredentials.qml index c2ebb88ab..17353d3ac 100644 --- a/qt-mobile/qml/CloudCredentials.qml +++ b/qt-mobile/qml/CloudCredentials.qml @@ -60,6 +60,7 @@ Item { checked: false id: showPassword onCheckedChanged: { + console.log("changing password echoMode to " + (checked ? TextInput.Normal : TextInput.Password) + " was " + password.echoMode); password.echoMode = checked ? TextInput.Normal : TextInput.Password } } @@ -96,5 +97,9 @@ Item { Item { Layout.fillHeight: true } + Component.onCompleted: { + console.log("password echoMode is " + password.echoMode); + } + } } |