[PATCH] Mobile CloudCredentials: hide password on entry

Rick Walsh rickmwalsh at gmail.com
Wed Dec 30 02:46:28 PST 2015


Don't use EmailCharactersOnly input method hint for the password. This fixes
the problem of password being displayed on entry, at least on my device.

Signed-off-by: Rick Walsh <rickmwalsh at gmail.com>
---
 qt-mobile/qml/CloudCredentials.qml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/qt-mobile/qml/CloudCredentials.qml b/qt-mobile/qml/CloudCredentials.qml
index 17353d3..bb61cb2 100644
--- a/qt-mobile/qml/CloudCredentials.qml
+++ b/qt-mobile/qml/CloudCredentials.qml
@@ -47,8 +47,7 @@ Item {
 			id: password
 			text: manager.cloudPassword
 			echoMode: TextInput.Password
-			inputMethodHints: Qt.ImhEmailCharactersOnly |
-					  Qt.ImhSensitiveData |
+			inputMethodHints: Qt.ImhSensitiveData |
 					  Qt.ImhHiddenText |
 					  Qt.ImhNoAutoUppercase
 			Layout.fillWidth: true
-- 
2.5.0



More information about the subsurface mailing list