summaryrefslogtreecommitdiffstats
path: root/src/gui/inputmethod/qcoefepinputcontext_p.h
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2010-09-02 13:40:38 (GMT)
committeraxis <qt-info@nokia.com>2010-09-02 14:15:33 (GMT)
commitefe67ac8c1c59fd4cf8c793b549169f4e2926ac8 (patch)
tree7c7a59ed6d8000f67d8aa706b644536123d4dd73 /src/gui/inputmethod/qcoefepinputcontext_p.h
parentf8c789a70ee3061dd81307ead82c47bb0f8041d5 (diff)
downloadQt-efe67ac8c1c59fd4cf8c793b549169f4e2926ac8.zip
Qt-efe67ac8c1c59fd4cf8c793b549169f4e2926ac8.tar.gz
Qt-efe67ac8c1c59fd4cf8c793b549169f4e2926ac8.tar.bz2
Fixed a bug where passwords would not be committed when confirming.
The bug happened when you were typing a password and pressing "Done" softkey very quickly. Because of the temporarily visible character, the widget would not contain the full string at the time of softkey triggering, only the *** part. Fixed by having the input context listen for softkey (command) events and commit the temporary character before the softkey action is triggered. AutoTest: Included Task: QTBUG-12949 RevBy: Miikka Heikkinen
Diffstat (limited to 'src/gui/inputmethod/qcoefepinputcontext_p.h')
-rw-r--r--src/gui/inputmethod/qcoefepinputcontext_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/inputmethod/qcoefepinputcontext_p.h b/src/gui/inputmethod/qcoefepinputcontext_p.h
index 2fd6d16..ac40bba 100644
--- a/src/gui/inputmethod/qcoefepinputcontext_p.h
+++ b/src/gui/inputmethod/qcoefepinputcontext_p.h
@@ -84,6 +84,7 @@ public:
void update();
bool filterEvent(const QEvent *event);
+ bool symbianFilterEvent(QWidget *keyWidget, const QSymbianEvent *event);
void mouseHandler( int x, QMouseEvent *event);
bool isComposing() const { return !m_preeditString.isEmpty(); }