summaryrefslogtreecommitdiffstats
path: root/src/kernel/qthread_unix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qthread_unix.cpp')
-rw-r--r--src/kernel/qthread_unix.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/kernel/qthread_unix.cpp b/src/kernel/qthread_unix.cpp
index 530d401..bc492af 100644
--- a/src/kernel/qthread_unix.cpp
+++ b/src/kernel/qthread_unix.cpp
@@ -132,7 +132,7 @@ void *QThreadInstance::start( void *_arg )
#endif // QT_USE_GLIBMAINLOOP
#ifdef QT_DEBUG
- qDebug("QThreadInstance::start: Setting thread storage to %p\n\r", (QThread *) arg[0]);
+ qDebug("QThreadInstance::start: Setting thread storage to %p\n", (QThread *) arg[0]);
#endif // QT_DEBUG
setCurrentThread( (QThread *) arg[0] );
@@ -156,7 +156,9 @@ void QThreadInstance::finish( void * )
return;
}
- qDebug("QThreadInstance::finish: In QThreadInstance::finish for thread %p\n\r", (QThread*)d->args[0]);
+#ifdef QT_DEBUG
+ qDebug("QThreadInstance::finish: In QThreadInstance::finish for thread %p\n", (QThread*)d->args[0]);
+#endif // QT_DEBUG
QApplication::threadTerminationHandler((QThread*)d->args[0]);