summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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;