mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
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%
This commit is contained in:
parent
c32e0e9f1b
commit
4e715f5054
|
@ -375,6 +375,7 @@ bool AutoUpdater::downloadUpdate()
|
|||
{
|
||||
qDebug() << "Skipping already downloaded file '" + fileMeta.installpath+ "'";
|
||||
fileFile.close();
|
||||
progressValue = initialProgress + step;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user