From 54a845e923467ebf5c0f5959957363b3f93b0fde Mon Sep 17 00:00:00 2001 From: Andrew den Exter Date: Mon, 25 Jul 2011 14:50:19 +1000 Subject: [PATCH] Correct TextInput.PasswordEchoOnEdit documentation. The documentation incorrectly stated that this mode masked all but the last character, the actual behavior is as described in the QLineEdit documentation. Task-number: QTBUG-20003 Change-Id: I8a89a6818c930125821435bc04121340968dfbb2 Reviewed-on: http://codereview.qt.nokia.com/2067 Reviewed-by: Qt Sanity Bot Reviewed-by: Andrew den Exter --- src/qtquick1/graphicsitems/qdeclarativetextinput.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/qtquick1/graphicsitems/qdeclarativetextinput.cpp b/src/qtquick1/graphicsitems/qdeclarativetextinput.cpp index 9a291ea..a14d837 100644 --- a/src/qtquick1/graphicsitems/qdeclarativetextinput.cpp +++ b/src/qtquick1/graphicsitems/qdeclarativetextinput.cpp @@ -885,7 +885,8 @@ void QDeclarative1TextInputPrivate::updateInputMethodHints() \o TextInput.Normal - Displays the text as it is. (Default) \o TextInput.Password - Displays asterixes instead of characters. \o TextInput.NoEcho - Displays nothing. - \o TextInput.PasswordEchoOnEdit - Displays all but the current character as asterixes. + \o TextInput.PasswordEchoOnEdit - Displays characters as they are entered + while editing, otherwise displays asterisks. \endlist */ QDeclarative1TextInput::EchoMode QDeclarative1TextInput::echoMode() const -- 2.7.4