aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmltest/quicktestevent_p.h
diff options
context:
space:
mode:
authorAlbert Astals Cid <albert.astals@canonical.com>2015-07-21 11:36:22 +0200
committerAlbert Astals Cid <albert.astals@canonical.com>2015-08-03 13:03:14 +0000
commitfd45a577728c944328f0cb0656508ef643211f5a (patch)
treef82efd01fc0bd06a3286d34260eb19d1204b4ae4 /src/qmltest/quicktestevent_p.h
parent34f39c8f0dd51f1f62c1d15e6cb466bcc2a7fa90 (diff)
Send the mouse events to the correct window
That is the window with the item, not the window that contains the TestUtil Item Change-Id: I13f5bfd0556e594843d499d014e92bcc41850f45 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com> Reviewed-by: Robin Burchell <robin.burchell@viroteck.net> Reviewed-by: Jason McDonald <macadder1@gmail.com> Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'src/qmltest/quicktestevent_p.h')
-rw-r--r--src/qmltest/quicktestevent_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmltest/quicktestevent_p.h b/src/qmltest/quicktestevent_p.h
index b7f8f3eda2..e11674f66a 100644
--- a/src/qmltest/quicktestevent_p.h
+++ b/src/qmltest/quicktestevent_p.h
@@ -73,7 +73,7 @@ public Q_SLOTS:
#endif
private:
- QWindow *eventWindow();
+ QWindow *eventWindow(QObject *item = 0);
};
QT_END_NAMESPACE