mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
added some flush() calls just to be sure
This commit is contained in:
parent
38bceba5ec
commit
84c7c40e86
1 changed files with 3 additions and 0 deletions
|
@ -102,6 +102,8 @@ void Updates::installUpdates()
|
||||||
this->setStatus_(WriteFileFailed);
|
this->setStatus_(WriteFileFailed);
|
||||||
return Failure;
|
return Failure;
|
||||||
}
|
}
|
||||||
|
file.flush();
|
||||||
|
file.close();
|
||||||
|
|
||||||
QProcess::startDetached(
|
QProcess::startDetached(
|
||||||
combinePath(QCoreApplication::applicationDirPath(),
|
combinePath(QCoreApplication::applicationDirPath(),
|
||||||
|
@ -160,6 +162,7 @@ void Updates::installUpdates()
|
||||||
QDesktopServices::openUrl(this->updateExe_);
|
QDesktopServices::openUrl(this->updateExe_);
|
||||||
return Failure;
|
return Failure;
|
||||||
}
|
}
|
||||||
|
file.flush();
|
||||||
file.close();
|
file.close();
|
||||||
|
|
||||||
if (QProcess::startDetached(filename))
|
if (QProcess::startDetached(filename))
|
||||||
|
|
Loading…
Reference in a new issue