summaryrefslogtreecommitdiffstats
path: root/src/gui/inputmethod/qximinputcontext_x11.cpp
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-10-08 08:34:14 (GMT)
committeraxis <qt-info@nokia.com>2009-10-08 09:47:24 (GMT)
commit013503f8f1a29f12789a8f88bd095597170ff76b (patch)
tree9f87f4c12287e3679a240207856ade2f665fc00b /src/gui/inputmethod/qximinputcontext_x11.cpp
parent67ba51dd0d9d7292ee5f1d3a484330fde84a7248 (diff)
downloadQt-013503f8f1a29f12789a8f88bd095597170ff76b.zip
Qt-013503f8f1a29f12789a8f88bd095597170ff76b.tar.gz
Qt-013503f8f1a29f12789a8f88bd095597170ff76b.tar.bz2
Prevented input composition in password fields on X11 and Windows.
This restores the behavior in 4.5. Task: QT-2257 RevBy: Simon Hausmann
Diffstat (limited to 'src/gui/inputmethod/qximinputcontext_x11.cpp')
-rw-r--r--src/gui/inputmethod/qximinputcontext_x11.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/inputmethod/qximinputcontext_x11.cpp b/src/gui/inputmethod/qximinputcontext_x11.cpp
index bee3ce8..b46b162 100644
--- a/src/gui/inputmethod/qximinputcontext_x11.cpp
+++ b/src/gui/inputmethod/qximinputcontext_x11.cpp
@@ -612,7 +612,7 @@ void QXIMInputContext::setFocusWidget(QWidget *w)
QInputContext::setFocusWidget(w);
- if (!w || w->inputMethodHints() & Qt::ImhExclusiveInputMask)
+ if (!w || w->inputMethodHints() & (Qt::ImhExclusiveInputMask | Qt::ImhHiddenText))
return;
ICData *data = ximData.value(w->effectiveWinId());