From 7f692693d98522187029e82c746627e3bd51be67 Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Mon, 20 Oct 2014 15:00:39 +0200 Subject: Fix tst_qquickpositioners on OS X MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Done-with: Jan Arve Sæther Change-Id: Iff66f62167a5977354319aac311d2cb81d9f3842 Reviewed-by: Jan Arve Sæther --- tests/auto/quick/qquickpositioners/tst_qquickpositioners.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/auto/quick/qquickpositioners') 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 windowB(createView(testFile(qmlFile))); QQuickItem *rootB = qobject_cast(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 -- cgit v1.2.3