summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformintegration.h
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@digia.com>2014-03-05 10:32:59 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-06 12:21:14 +0100
commit2bac49265efcf8faabc3756d1a3e405a3d336f68 (patch)
tree43b5d87e0641172ba8281be263e3274d491f4990 /src/gui/kernel/qplatformintegration.h
parent04ef22b9ee71c42d8ff67d23ebeab704c38bec1e (diff)
Tablet target widget isn't always the same as its widget window
In this scenario there is a widget with a QPushButton inside, and you click the pushbutton with the tablet. The target of the event is the pushbutton, but when you click it, the window is destroyed. The widgetwindow destructor cannot check the pushbutton's window() because it has already been destroyed. So it seems we have to store both widgets: the actual target and the parent widget which has the window. Task-number: QTBUG-36848 Change-Id: I37d8fb03743f3e501d695342edc42de104777b18 Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/gui/kernel/qplatformintegration.h')
0 files changed, 0 insertions, 0 deletions