aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickpathview/tst_qquickpathview.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2013-08-30 10:01:15 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-30 15:52:05 +0200
commitb4487b6de85a99ca0466682aae6f1761efc0fe41 (patch)
tree3676f21e9ac5eadbcb31e85ae96364cfe1709f45 /tests/auto/quick/qquickpathview/tst_qquickpathview.cpp
parentf11eee072ee0fea24dbef2a85d72f1d27807c166 (diff)
tst_qquickpathview::cancelDrag(): Move mouse after setUrl().
Take correct window size into account. Task-number: QTBUG-32662 Change-Id: Ie04c8fe8e254d232f076e6f9d9d0d96f12a4530f Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'tests/auto/quick/qquickpathview/tst_qquickpathview.cpp')
-rw-r--r--tests/auto/quick/qquickpathview/tst_qquickpathview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quick/qquickpathview/tst_qquickpathview.cpp b/tests/auto/quick/qquickpathview/tst_qquickpathview.cpp
index 5ca081aa92..083497750d 100644
--- a/tests/auto/quick/qquickpathview/tst_qquickpathview.cpp
+++ b/tests/auto/quick/qquickpathview/tst_qquickpathview.cpp
@@ -1737,8 +1737,8 @@ static inline bool hasFraction(qreal o)
void tst_QQuickPathView::cancelDrag()
{
QScopedPointer<QQuickView> window(createView());
- QQuickViewTestUtil::moveMouseAway(window.data());
window->setSource(testFileUrl("dragpath.qml"));
+ QQuickViewTestUtil::moveMouseAway(window.data());
window->show();
window->requestActivate();
QVERIFY(QTest::qWaitForWindowActive(window.data()));