diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2011-10-25 12:06:01 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-26 14:05:16 +0200 |
commit | a927dc97844fd23e295387f8174367f3f4be2977 (patch) | |
tree | ee145617de59c7f0e056e1dc89340465c765beed /src/declarative/qml/qdeclarativescript.cpp | |
parent | 060927726d0b053d599867f8b05d07da6e0b6a78 (diff) | |
download | qtdeclarative-a927dc97844fd23e295387f8174367f3f4be2977.tar.gz |
Fix QInputPanel::invokeAction(Click) not being called on mouse clicks
It appears that the introduction of the KeyRelease event type check in
commit 70cc5c9b7b420ecaf099d5d08fb1b4e8ad81a920 was accidential and meant
to use MouseButtonRelease (in QSGTextInputPrivate::sendMouseEventToInputContext).
This patch also removes the unnecessary QEvent::MouseMove check as well as
the mousePos = -1 setting if the position is out of range. The input methods
do the same check and reset() accordingly anyway.
Change-Id: Icf3638979583d97c066cb639f80fa11f44538d7c
Reviewed-by: Pekka Vuorela <pekka.ta.vuorela@nokia.com>
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
Reviewed-by: Joona Petrell <joona.t.petrell@nokia.com>
Diffstat (limited to 'src/declarative/qml/qdeclarativescript.cpp')
0 files changed, 0 insertions, 0 deletions