summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/gui/painting/qtbench/tst_qtbench.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/painting/qtbench/tst_qtbench.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/painting/qtbench/tst_qtbench.cpp')
-rw-r--r--tests/benchmarks/gui/painting/qtbench/tst_qtbench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/benchmarks/gui/painting/qtbench/tst_qtbench.cpp b/tests/benchmarks/gui/painting/qtbench/tst_qtbench.cpp
index c7ba7b82f6..cc9fe7e32e 100644
--- a/tests/benchmarks/gui/painting/qtbench/tst_qtbench.cpp
+++ b/tests/benchmarks/gui/painting/qtbench/tst_qtbench.cpp
@@ -229,7 +229,7 @@ void tst_QtBench::qtBench()
BenchWidget widget(reinterpret_cast<Benchmark *>(benchmark));
widget.show();
- QTest::qWaitForWindowShown(&widget);
+ QTest::qWaitForWindowExposed(&widget);
while (!widget.done()) {
widget.update();