diff options
author | axis <qt-info@nokia.com> | 2009-08-19 13:40:40 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2009-08-19 13:41:44 (GMT) |
commit | af6d0ac59424e75ee840b668f193a1d5973efe07 (patch) | |
tree | 5dfaa73709744b18a391168a6028330716261b1d /src/corelib/thread | |
parent | e9c2263b0be0696dca42a9f0f93c47674826b719 (diff) | |
download | Qt-af6d0ac59424e75ee840b668f193a1d5973efe07.zip Qt-af6d0ac59424e75ee840b668f193a1d5973efe07.tar.gz Qt-af6d0ac59424e75ee840b668f193a1d5973efe07.tar.bz2 |
Reverse the ifdefs to make it clearer, as per code review.
RevBy: Trust me
Diffstat (limited to 'src/corelib/thread')
-rw-r--r-- | src/corelib/thread/qthread_unix.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/thread/qthread_unix.cpp b/src/corelib/thread/qthread_unix.cpp index 5401cfd..30914f4 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; |