diff --git a/src/platform/qt/AbstractUpdater.cpp b/src/platform/qt/AbstractUpdater.cpp index c165ae1a0..02f23c956 100644 --- a/src/platform/qt/AbstractUpdater.cpp +++ b/src/platform/qt/AbstractUpdater.cpp @@ -85,5 +85,7 @@ void AbstractUpdater::updateDownloaded(QNetworkReply* reply) { } f.write(bytes); } + f.flush(); + f.close(); emit updateDone(true); }