mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
remove debug code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32657 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
99116c8d64
commit
e479ed5b45
@ -32,7 +32,7 @@
|
||||
#include <QDebug>
|
||||
|
||||
#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_);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user