diff options
author | Bernd Weimer <bweimer@blackberry.com> | 2014-04-23 10:39:50 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-24 10:16:02 +0200 |
commit | dcded5f0c0693dafd1de2c60269da7e569c6957e (patch) | |
tree | 9166da6bf12e4250a83ba37abaada89dfec58db3 /tests/auto/quick/qquickitemlayer | |
parent | c2d802049e48d1d6f0bce6eb0972fb26dc4d6ce3 (diff) |
QNX: Fix item layer auto test
Change-Id: I9600f278598d49335624bf22d40853174b7497fe
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'tests/auto/quick/qquickitemlayer')
-rw-r--r-- | tests/auto/quick/qquickitemlayer/tst_qquickitemlayer.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/auto/quick/qquickitemlayer/tst_qquickitemlayer.cpp b/tests/auto/quick/qquickitemlayer/tst_qquickitemlayer.cpp index 4f103bd1fa..b5980929a6 100644 --- a/tests/auto/quick/qquickitemlayer/tst_qquickitemlayer.cpp +++ b/tests/auto/quick/qquickitemlayer/tst_qquickitemlayer.cpp @@ -55,10 +55,14 @@ public: QImage runTest(const QString &fileName) { +#if defined(Q_OS_BLACKBERRY) + QWindow dummy; // On BlackBerry first window is always full screen, + dummy.showFullScreen(); // so make test window a second window. +#endif QQuickView view; view.setSource(testFileUrl(fileName)); - view.show(); + view.showNormal(); QTest::qWaitForWindowExposed(&view); return view.grabWindow(); |