summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/corelib/thread/qthread_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/thread/qthread_win.cpp b/src/corelib/thread/qthread_win.cpp
index f2d1310..6b7932b 100644
--- a/src/corelib/thread/qthread_win.cpp
+++ b/src/corelib/thread/qthread_win.cpp
@@ -300,7 +300,7 @@ unsigned int __stdcall QThreadPrivate::start(void *arg)
{
QMutexLocker locker(&thr->d_func()->mutex);
- data->quitNow = !thr->d_func()->exited;
+ data->quitNow = thr->d_func()->exited;
}
// ### TODO: allow the user to create a custom event dispatcher
createEventDispatcher(data);