summaryrefslogtreecommitdiffstats
path: root/tests/auto/opengl/qgl
diff options
context:
space:
mode:
authorBernd Weimer <bweimer@blackberry.com>2013-08-05 17:46:55 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-07 09:01:36 +0200
commitbf7129af979412102e0dd4c23d9152dfb26fe7b1 (patch)
tree555a8cab8444c9e63a0aa2cb4ff83a68e4f2591d /tests/auto/opengl/qgl
parent4ca4fb93f666820ab10fc0e17f54b2b777540779 (diff)
Fixed tst_qgl for fullscreen platforms
Replaced show() with showNormal(). Change-Id: Ia6e7f34587090de5019f9ca9cb82a44e7cf495e5 Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Diffstat (limited to 'tests/auto/opengl/qgl')
-rw-r--r--tests/auto/opengl/qgl/tst_qgl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/opengl/qgl/tst_qgl.cpp b/tests/auto/opengl/qgl/tst_qgl.cpp
index 3fc89acb67..38c92c7610 100644
--- a/tests/auto/opengl/qgl/tst_qgl.cpp
+++ b/tests/auto/opengl/qgl/tst_qgl.cpp
@@ -1288,7 +1288,7 @@ void tst_QGL::glFBOUseInGLWidget()
FBOUseInGLWidget w;
w.resize(100, 100);
- w.show();
+ w.showNormal();
QVERIFY(QTest::qWaitForWindowExposed(&w));
@@ -1774,7 +1774,7 @@ void tst_QGL::clipTest()
{
ClipTestGLWidget glw;
glw.resize(220, 220);
- glw.show();
+ glw.showNormal();
QVERIFY(QTest::qWaitForWindowExposed(&glw));