added some flush() calls just to be sure

This commit is contained in:
fourtf 2019-08-25 21:26:14 +02:00
parent 38bceba5ec
commit 84c7c40e86

View file

@ -102,6 +102,8 @@ void Updates::installUpdates()
this->setStatus_(WriteFileFailed);
return Failure;
}
file.flush();
file.close();
QProcess::startDetached(
combinePath(QCoreApplication::applicationDirPath(),
@ -160,6 +162,7 @@ void Updates::installUpdates()
QDesktopServices::openUrl(this->updateExe_);
return Failure;
}
file.flush();
file.close();
if (QProcess::startDetached(filename))