workaround for Qt (4.5.2) bug: QProcess::started() is emitted twice

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32646 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2009-12-26 16:07:16 +00:00
parent 694ab1b043
commit 94ab8c8f74

View File

@ -406,8 +406,10 @@ void SystemcallPrivate::stdErr()
void SystemcallPrivate::processStarted()
{
state = Running;
ProgressInterface::instance()->processStarted(cmd_);
if (state != Running) {
state = Running;
ProgressInterface::instance()->processStarted(cmd_);
}
}