summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/gui/styles/qstylesheetstyle/main.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-08-24 13:35:22 +0200
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-08-31 19:56:59 +0000
commit50b9e30970effae249010338880f74641f188f76 (patch)
tree472e644f7b4799a562cdcfea9ed327341925ecad /tests/benchmarks/gui/styles/qstylesheetstyle/main.cpp
parent1ca789bfe3c5617efdec698e4f5377c0611589d2 (diff)
qtbase tests: Remove QT_DISABLE_DEPRECATED_BEFORE=0 for simple cases.
Fix usage of API that is marked deprecated. Change-Id: Ie31b6ee029c5b5f015fe52fb9bcd8e94b22d6cd0 Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
Diffstat (limited to 'tests/benchmarks/gui/styles/qstylesheetstyle/main.cpp')
-rw-r--r--tests/benchmarks/gui/styles/qstylesheetstyle/main.cpp2
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);