From 4e715f50543cb7dfd8459abd853a0d5c07a2e819 Mon Sep 17 00:00:00 2001 From: tux3 Date: Sat, 12 Dec 2015 20:12:57 +0100 Subject: [PATCH] Show correct progress when resuming update download If you restart qTox in the middle of downloading an update, it would continue to download the update correctly but the progress bar would go from 0 to 50% instead of resuming from 50 to 100% --- src/net/autoupdate.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/net/autoupdate.cpp b/src/net/autoupdate.cpp index 0d72cfd5c..0088b7b81 100644 --- a/src/net/autoupdate.cpp +++ b/src/net/autoupdate.cpp @@ -375,6 +375,7 @@ bool AutoUpdater::downloadUpdate() { qDebug() << "Skipping already downloaded file '" + fileMeta.installpath+ "'"; fileFile.close(); + progressValue = initialProgress + step; continue; }