Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Project not found: home:defolos:BCI:Staging:SLE-15-SP6:6-1669
windows:mingw:win64
mingw64-libqt4
disable-im-for-password.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File disable-im-for-password.diff of Package mingw64-libqt4
--- 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