X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2FSystemcall.cpp;h=6ec50e1238b305d4346aa1fc45e0eb76aea37d6a;hb=7b0f9d95248820bc70b820dd6b558de4a6713bae;hp=d0ff9ae993f1111bad555976db32d16d992f3d24;hpb=24e0bd3afea847218c0f590561cf172b3799432f;p=lyx.git diff --git a/src/support/Systemcall.cpp b/src/support/Systemcall.cpp index d0ff9ae993..6ec50e1238 100644 --- a/src/support/Systemcall.cpp +++ b/src/support/Systemcall.cpp @@ -440,7 +440,7 @@ bool SystemcallPrivate::waitWhile(State waitwhile, bool process_events, int time while (!timedout) { if (process_->waitForFinished(timeout)) return true; - bool stop = queryStopCommand(cmd_); + bool const stop = queryStopCommand(cmd_); // The command may have finished in the meantime if (process_->state() == QProcess::NotRunning) return true; @@ -475,7 +475,7 @@ bool SystemcallPrivate::waitWhile(State waitwhile, bool process_events, int time return false; if (timer.elapsed() > timeout) { - bool stop = queryStopCommand(cmd_); + bool const stop = queryStopCommand(cmd_); // The command may have finished in the meantime if (process_->state() == QProcess::NotRunning) break;