diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2011-02-08 16:08:04 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2011-02-08 16:08:04 (GMT) |
commit | 877da0d056d0b0c078d07165be11a1ffca4730ea (patch) | |
tree | cfe742ec2b2631163bd355d134e0bfcefcc287ab | |
parent | 7e35a1f70b69eab892216edd551bf50fecd352f5 (diff) | |
download | Qt-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.cpp | 2 |
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); |