aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRafael Roquetto <rafael.roquetto.qnx@kdab.com>2013-07-17 17:44:31 -0300
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-07-18 21:37:32 +0200
commita95f2998dbd08494bba136a060cc8d454b5f7cc8 (patch)
treec51b3fca5cc758acd8a9706943cd3d419148f5fd /tests
parent16a6cba54f979bbcac6c91321c5714f829f7d75e (diff)
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 <Friedemann.Kleint@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/quick/qquickview/tst_qquickview.cpp6
1 files 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