summaryrefslogtreecommitdiffstats
path: root/examples/corelib/threads
diff options
context:
space:
mode:
Diffstat (limited to 'examples/corelib/threads')
-rw-r--r--examples/corelib/threads/mandelbrot/renderthread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/corelib/threads/mandelbrot/renderthread.cpp b/examples/corelib/threads/mandelbrot/renderthread.cpp
index 77a14a6ac14..b78042cb3a5 100644
--- a/examples/corelib/threads/mandelbrot/renderthread.cpp
+++ b/examples/corelib/threads/mandelbrot/renderthread.cpp
@@ -81,7 +81,7 @@ void RenderThread::run()
constexpr int Limit = 4;
bool allBlack = true;
- timer.restart();
+ timer.start();
for (int y = -halfHeight; y < halfHeight; ++y) {
if (restart)