be sure processFinished() is only called once.

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

View File

@ -415,8 +415,10 @@ void SystemcallPrivate::processStarted()
void SystemcallPrivate::processFinished(int, QProcess::ExitStatus)
{
state = Finished;
ProgressInterface::instance()->processFinished(cmd_);
if (state != Finished) {
state = Finished;
ProgressInterface::instance()->processFinished(cmd_);
}
}