Qt: Fix updater not flushing

This commit is contained in:
Vicki Pfau 2019-02-27 19:02:40 -08:00
parent 27f8abff15
commit 3c5a9258a7
1 changed files with 2 additions and 0 deletions

View File

@ -85,5 +85,7 @@ void AbstractUpdater::updateDownloaded(QNetworkReply* reply) {
}
f.write(bytes);
}
f.flush();
f.close();
emit updateDone(true);
}