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 6e8c4fdc3..08b668e64 100644
--- a/src/kernel/qthread_unix.cpp
+++ b/src/kernel/qthread_unix.cpp
@@ -132,7 +132,7 @@ void *TQThreadInstance::start( void *_arg )
#endif // QT_USE_GLIBMAINLOOP
#ifdef QT_DEBUG
- tqDebug("TQThreadInstance::start: Setting thread storage to %p\n\r", (TQThread *) arg[0]);
+ tqDebug("TQThreadInstance::start: Setting thread storage to %p\n", (TQThread *) arg[0]);
#endif // QT_DEBUG
setCurrentThread( (TQThread *) arg[0] );
@@ -156,7 +156,9 @@ void TQThreadInstance::finish( void * )
return;
}
- tqDebug("TQThreadInstance::finish: In TQThreadInstance::finish for thread %p\n\r", (TQThread*)d->args[0]);
+#ifdef QT_DEBUG
+ tqDebug("TQThreadInstance::finish: In TQThreadInstance::finish for thread %p\n", (TQThread*)d->args[0]);
+#endif // QT_DEBUG
TQApplication::threadTerminationHandler((TQThread*)d->args[0]);