From 3c5a9258a72ef9b7f5904783857c42232064119d Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Wed, 27 Feb 2019 19:02:40 -0800 Subject: [PATCH] Qt: Fix updater not flushing --- src/platform/qt/AbstractUpdater.cpp | 2 ++ 1 file changed, 2 insertions(+) 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); }