Fixed tst_qgl for fullscreen platforms

Replaced show() with showNormal().

Change-Id: Ia6e7f34587090de5019f9ca9cb82a44e7cf495e5
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
bb10
Bernd Weimer 2013-08-05 17:46:55 +02:00 committed by The Qt Project
parent 4ca4fb93f6
commit bf7129af97
1 changed files with 2 additions and 2 deletions

View File

@ -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));