Delay masking the last character in Password echo mode.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Mon, 25 Jul 2011 03:25:15 +0000 (13:25 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 12 Dec 2011 12:19:40 +0000 (13:19 +0100)
commitd6fb4463b815a0fa21b6f087dc17ca3a45ee56e7
tree092d301d7365e9350e7876b1da52baf6a0f29ff6
parent6e0e834e0398192a6da11d1e1bca6b74769fb75d
Delay masking the last character in Password echo mode.

If QT_GUI_PASSWORD_ECHO_DELAY is defined in qplatformdefs.h with an
integer value in milliseconds, QLineEdit and TextInput will display
the last character entered unmasked for that delay period and then
mask the character as normal.  If QT_GUI_PASSWORD_ECHO_DELAY is
not defined then the behaviour is unchanged.

Task-number: QTBUG-17003
Task-number: QTBUG-20719
Reviewed-by: Martin Jones
(cherry picked from commit f9e7aee2019d321edd655bfde7de43f20a106971)

Change-Id: If69b384636e3775ad7898b8ffc441011c21abe98
Reviewed-by: Joona Petrell <joona.t.petrell@nokia.com>
src/widgets/widgets/qwidgetlinecontrol.cpp
src/widgets/widgets/qwidgetlinecontrol_p.h