From e479ed5b458ad25fd0ee50889fd7a90715b2a318 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20K=C3=BCmmel?= Date: Sun, 27 Dec 2009 13:43:42 +0000 Subject: [PATCH] remove debug code git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32657 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/Systemcall.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/support/Systemcall.cpp b/src/support/Systemcall.cpp index ac704b4781..809b88b3f4 100644 --- a/src/support/Systemcall.cpp +++ b/src/support/Systemcall.cpp @@ -32,7 +32,7 @@ #include #define USE_QPROCESS -//#define DEBUG_SYSTEMCALL // this macro shows the Qt 4.5 & 4.6 bug on Linux: multiple started() signals + struct Sleep : QThread { @@ -407,12 +407,7 @@ void SystemcallPrivate::stdErr() void SystemcallPrivate::processStarted() { -#ifdef DEBUG_SYSTEMCALL - cmd_ = cmd_ + " -- process: " + QString::number((quint64) proc_); - if (true) { -#else if (state != Running) { -#endif state = Running; ProgressInterface::instance()->processStarted(cmd_); } @@ -421,12 +416,7 @@ void SystemcallPrivate::processStarted() void SystemcallPrivate::processFinished(int, QProcess::ExitStatus) { -#ifdef DEBUG_SYSTEMCALL - cmd_ = cmd_ + " -- process: " + QString::number((quint64) proc_); - if (true) { -#else if (state != Finished) { -#endif state = Finished; ProgressInterface::instance()->processFinished(cmd_); }