diff options
Diffstat (limited to 'tests/benchmarks/gui/styles/qstylesheetstyle/main.cpp')
-rw-r--r-- | tests/benchmarks/gui/styles/qstylesheetstyle/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/benchmarks/gui/styles/qstylesheetstyle/main.cpp b/tests/benchmarks/gui/styles/qstylesheetstyle/main.cpp index e4d5999c62..bb5399707c 100644 --- a/tests/benchmarks/gui/styles/qstylesheetstyle/main.cpp +++ b/tests/benchmarks/gui/styles/qstylesheetstyle/main.cpp @@ -173,7 +173,7 @@ void tst_qstylesheetstyle::grid() w->setStyleSheet("/* */"); if(show) { w->show(); - QTest::qWaitForWindowShown(w); + QTest::qWaitForWindowExposed(w); QApplication::flush(); QApplication::processEvents(); QTest::qWait(30); |