From a95f2998dbd08494bba136a060cc8d454b5f7cc8 Mon Sep 17 00:00:00 2001 From: Rafael Roquetto Date: Wed, 17 Jul 2013 17:44:31 -0300 Subject: Fix tst_qquickview for full screen platforms Some test cases rely on the fact that show() is not fullscreen, which may not be true for some platforms. Explicitly make use of showNormal() to avoid full-screen show on these platforms. Change-Id: I0787fb62b8e37a73974f87857de200485d7ba6da Reviewed-by: Friedemann Kleint --- tests/auto/quick/qquickview/tst_qquickview.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/auto/quick/qquickview/tst_qquickview.cpp b/tests/auto/quick/qquickview/tst_qquickview.cpp index e2e20a6516..a4ed1267ac 100644 --- a/tests/auto/quick/qquickview/tst_qquickview.cpp +++ b/tests/auto/quick/qquickview/tst_qquickview.cpp @@ -80,7 +80,7 @@ void tst_QQuickView::resizemodeitem() QVERIFY(item); window.show(); - view->show(); + view->showNormal(); // initial size from root object QCOMPARE(item->width(), 200.0); @@ -126,7 +126,7 @@ void tst_QQuickView::resizemodeitem() QVERIFY(item); window.show(); - view->show(); + view->showNormal(); // initial size for root object QCOMPARE(item->width(), 200.0); @@ -173,7 +173,7 @@ void tst_QQuickView::resizemodeitem() QVERIFY(item); window.show(); - view->show(); + view->showNormal(); QTest::qWait(50); // initial size from root object -- cgit v1.2.3