Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
libqt4-devel-doc.2772
disable-im-for-password.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File disable-im-for-password.diff of Package libqt4-devel-doc.2772
--- src/gui/widgets/qlineedit.cpp | 5 +++++ 1 file changed, 5 insertions(+) --- a/src/gui/widgets/qlineedit.cpp +++ b/src/gui/widgets/qlineedit.cpp @@ -554,6 +554,11 @@ } setInputMethodHints(imHints); d->control->setEchoMode(mode); + // disable IM for password or noecho + if (mode == Password || mode == NoEcho) + setAttribute(Qt::WA_InputMethodEnabled, false); + else + setAttribute(Qt::WA_InputMethodEnabled, d->shouldEnableInputMethod()); update(); #ifdef Q_WS_MAC if (hasFocus())
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor