summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qinputmethod_p.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-01-19 16:54:34 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-09-29 19:45:35 +0000
commit97f4366202d170f8c64df2a9f92d457c69b565cc (patch)
treeb47cdb03972f84d400d282a6df6f306c78de6c63 /src/gui/kernel/qinputmethod_p.h
parenta34054c75e18326d10328baa9e39fc9eab0cbfc9 (diff)
QLineEdit: Disable input methods for password unless IME supports hidden text
Move the checking logic from QGuiApplicationPrivate::_q_updateFocusObject() to QInputMethodPrivate::objectAcceptsInputMethod(), which is also called from QWidget::updateMicroFocus() via QInputMethod::update(). Fixes: QTBUG-56767 Change-Id: Ia4cce5e7e766008df891537048d5daf739c010ff Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/gui/kernel/qinputmethod_p.h')
-rw-r--r--src/gui/kernel/qinputmethod_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qinputmethod_p.h b/src/gui/kernel/qinputmethod_p.h
index 81723bbe30..0c2b739d92 100644
--- a/src/gui/kernel/qinputmethod_p.h
+++ b/src/gui/kernel/qinputmethod_p.h
@@ -80,7 +80,7 @@ public:
void _q_connectFocusObject();
void _q_checkFocusObject(QObject *object);
- bool objectAcceptsInputMethod(QObject *object);
+ static bool objectAcceptsInputMethod(QObject *object);
QTransform inputItemTransform;
QRectF inputRectangle;