QTfrontend/net/tcpBase.cpp
changeset 8635 c1c6b815691e
parent 8310 a98c349bc06b
child 8799 44e520374cfc
--- a/QTfrontend/net/tcpBase.cpp	Sun Mar 03 20:59:27 2013 -0500
+++ b/QTfrontend/net/tcpBase.cpp	Mon Mar 04 10:08:38 2013 +0100
@@ -141,9 +141,10 @@
     connect(process, SIGNAL(error(QProcess::ProcessError)), this, SLOT(StartProcessError(QProcess::ProcessError)));
     QStringList arguments=getArguments();
 
+#ifdef DEBUG
     // redirect everything written on stdout/stderr
-    if(isDevBuild)
-        process->setProcessChannelMode(QProcess::ForwardedChannels);
+    process->setProcessChannelMode(QProcess::ForwardedChannels);
+#endif
 
     process->start(bindir->absolutePath() + "/hwengine", arguments);
 #endif