summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2011-02-08 16:08:04 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2011-02-08 16:08:04 (GMT)
commit877da0d056d0b0c078d07165be11a1ffca4730ea (patch)
treecfe742ec2b2631163bd355d134e0bfcefcc287ab
parent7e35a1f70b69eab892216edd551bf50fecd352f5 (diff)
downloadQt-877da0d056d0b0c078d07165be11a1ffca4730ea.zip
Qt-877da0d056d0b0c078d07165be11a1ffca4730ea.tar.gz
Qt-877da0d056d0b0c078d07165be11a1ffca4730ea.tar.bz2
Fix reversed condition
Introduced in my previous fix for QTBUG-17257
-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);