mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
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:
parent
694ab1b043
commit
94ab8c8f74
@ -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_);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user