aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qml/painting/paintbenchmark.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarks/qml/painting/paintbenchmark.cpp')
-rw-r--r--tests/benchmarks/qml/painting/paintbenchmark.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/benchmarks/qml/painting/paintbenchmark.cpp b/tests/benchmarks/qml/painting/paintbenchmark.cpp
index 1fc7813c04..672bed4c10 100644
--- a/tests/benchmarks/qml/painting/paintbenchmark.cpp
+++ b/tests/benchmarks/qml/painting/paintbenchmark.cpp
@@ -351,8 +351,8 @@ public:
last = elapsed;
}
QPainter p(this);
- p.fillRect(rect(), Qt::white);
- p.setPen(Qt::black);
+ p.fillRect(rect(), Qt::white);
+ p.setPen(Qt::black);
QTime drawTimer;
drawTimer.start();
testFunc(p);