summaryrefslogtreecommitdiff
path: root/src/corelib/thread/qthread_unix.cpp
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-08-19 15:40:40 +0200
committeraxis <qt-info@nokia.com>2009-08-19 15:41:44 +0200
commitaf6d0ac59424e75ee840b668f193a1d5973efe07 (patch)
tree5dfaa73709744b18a391168a6028330716261b1d /src/corelib/thread/qthread_unix.cpp
parente9c2263b0be0696dca42a9f0f93c47674826b719 (diff)
downloadqt4-tools-af6d0ac59424e75ee840b668f193a1d5973efe07.tar.gz
Reverse the ifdefs to make it clearer, as per code review.
RevBy: Trust me
Diffstat (limited to 'src/corelib/thread/qthread_unix.cpp')
-rw-r--r--src/corelib/thread/qthread_unix.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/thread/qthread_unix.cpp b/src/corelib/thread/qthread_unix.cpp
index 5401cfd9db..30914f4830 100644
--- a/src/corelib/thread/qthread_unix.cpp
+++ b/src/corelib/thread/qthread_unix.cpp
@@ -243,10 +243,10 @@ void *QThreadPrivate::start(void *arg)
#endif
thr->run();
-#ifndef Q_OS_SYMBIAN
- pthread_cleanup_pop(1);
-#else
+#ifdef Q_OS_SYMBIAN
QThreadPrivate::finish(arg);
+#else
+ pthread_cleanup_pop(1);
#endif
return 0;