mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 06:20:28 +00:00
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:
parent
94ab8c8f74
commit
0f8003c25a
@ -415,9 +415,11 @@ void SystemcallPrivate::processStarted()
|
|||||||
|
|
||||||
void SystemcallPrivate::processFinished(int, QProcess::ExitStatus)
|
void SystemcallPrivate::processFinished(int, QProcess::ExitStatus)
|
||||||
{
|
{
|
||||||
|
if (state != Finished) {
|
||||||
state = Finished;
|
state = Finished;
|
||||||
ProgressInterface::instance()->processFinished(cmd_);
|
ProgressInterface::instance()->processFinished(cmd_);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void SystemcallPrivate::processError(QProcess::ProcessError)
|
void SystemcallPrivate::processError(QProcess::ProcessError)
|
||||||
|
Loading…
Reference in New Issue
Block a user