diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2011-07-25 14:50:19 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-07-25 11:21:48 +0200 |
commit | 54a845e923467ebf5c0f5959957363b3f93b0fde (patch) | |
tree | 7963043290233c9d3ed1e3602abcb2fd4f12725a /src/qtquick1 | |
parent | f3a9d7658f0852560721ea9c0f65da1338530d2f (diff) |
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 <qt_sanity_bot@ovi.com>
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
Diffstat (limited to 'src/qtquick1')
-rw-r--r-- | src/qtquick1/graphicsitems/qdeclarativetextinput.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qtquick1/graphicsitems/qdeclarativetextinput.cpp b/src/qtquick1/graphicsitems/qdeclarativetextinput.cpp index 9a291ea524..a14d837be0 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 |