summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qthread_unix.cpp
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-04-23 16:06:00 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-04-23 16:06:00 (GMT)
commit2bfde77e07c1de1866a1d171fc5dc5c584618e8e (patch)
treea38ead931add61ba1b8dbb2eb0ad495a59aaf35f /src/corelib/thread/qthread_unix.cpp
parentec2d71f0e4af0e0c286f0027d0242f456fdb2bb6 (diff)
parent5423ba187c62ea861ccfcc013fb15fcc4a5ae28d (diff)
downloadQt-2bfde77e07c1de1866a1d171fc5dc5c584618e8e.zip
Qt-2bfde77e07c1de1866a1d171fc5dc5c584618e8e.tar.gz
Qt-2bfde77e07c1de1866a1d171fc5dc5c584618e8e.tar.bz2
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into windows-7-multitouch
Diffstat (limited to 'src/corelib/thread/qthread_unix.cpp')
-rw-r--r--src/corelib/thread/qthread_unix.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/thread/qthread_unix.cpp b/src/corelib/thread/qthread_unix.cpp
index f602821..8f1c698 100644
--- a/src/corelib/thread/qthread_unix.cpp
+++ b/src/corelib/thread/qthread_unix.cpp
@@ -180,8 +180,7 @@ void *QThreadPrivate::start(void *arg)
data->quitNow = false;
// ### TODO: allow the user to create a custom event dispatcher
- if (QCoreApplication::instance())
- createEventDispatcher(data);
+ createEventDispatcher(data);
emit thr->started();
pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL);