summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRick Stockton <rickstockton@reno-computerhelp.com>2014-01-19 10:44:31 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-27 23:55:12 +0100
commit9063edef796ad10eb9ac2229627f36d60168f0e2 (patch)
treeb52ad219afc1770c890ea5474ce5afdeb7b6016d /tests
parentb7de9e7353a0caccceb309c03343e80dbe117dbb (diff)
If DblClick, do not deliver 'duplicated' MouseButtonPress
QWidgetWIndow: In Qt4, when Qt created a MouseButtonDblClick event, Qt would consume the causing MouseButtonPress. It would send only the derived dblclick event to widget windows and their children. This change makes Qt5.3 and higher emulate Qt4 delivery of double click-related events to widget windows and their children. QML objects (e.g. mousearea) continue to receive the second MouseButtonPress. [ChangeLog][QtGui][QWidget] MouseButtonDblClick: Do not send the 2nd MouseButtonPress event to Widgets. Restore Qt4 behavior in sequence of mouse events delivered to widget windows and their children. Task-number: QTBUG-25831 Change-Id: Iff0f9c592bceacb2ca844d30f8180081e136a889 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions