diff options
author | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2014-10-20 15:00:39 +0200 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> | 2014-10-20 16:55:34 +0200 |
commit | 7f692693d98522187029e82c746627e3bd51be67 (patch) | |
tree | a0d2a926536cb289c4f0003459f310f12a3d8549 /tests | |
parent | d767254ee09e9fd773bd40c93395609ac8bbf7e6 (diff) |
Fix tst_qquickpositioners on OS X
Done-with: Jan Arve Sæther
Change-Id: Iff66f62167a5977354319aac311d2cb81d9f3842
Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/quick/qquickpositioners/tst_qquickpositioners.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickpositioners/tst_qquickpositioners.cpp b/tests/auto/quick/qquickpositioners/tst_qquickpositioners.cpp index 6e5314f4f2..c2ea9cc0d6 100644 --- a/tests/auto/quick/qquickpositioners/tst_qquickpositioners.cpp +++ b/tests/auto/quick/qquickpositioners/tst_qquickpositioners.cpp @@ -1934,6 +1934,9 @@ void tst_qquickpositioners::test_mirroring() QScopedPointer<QQuickView> windowB(createView(testFile(qmlFile))); QQuickItem *rootB = qobject_cast<QQuickItem*>(windowB->rootObject()); + // On OS X the windows might get positioned exactly on top of each other + // that means no repaint for the bottom window will ever occur + windowB->setPosition(windowB->position() + QPoint(10, 10)); rootA->setProperty("testRightToLeft", true); // layoutDirection: Qt.RightToLeft |