diff options
Diffstat (limited to 'examples/tutorials/threads/movedobject/thread.cpp')
-rw-r--r-- | examples/tutorials/threads/movedobject/thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tutorials/threads/movedobject/thread.cpp b/examples/tutorials/threads/movedobject/thread.cpp index d8a17eefe6..5ebd873482 100644 --- a/examples/tutorials/threads/movedobject/thread.cpp +++ b/examples/tutorials/threads/movedobject/thread.cpp @@ -66,7 +66,7 @@ Thread::~Thread() // starts thread, moves worker to this thread and blocks void Thread::launchWorker(QObject *worker) { - worker = worker; + this->worker = worker; start(); worker->moveToThread(this); shutDownHelper->moveToThread(this); |