NOISSUE fix jumpy download progress bars

They are not as precise, the new logic gives every
download 1000 'units' instead of the actual (initially unknown) sizes.
This commit is contained in:
Petr Mrázek
2017-07-06 15:38:16 +02:00
parent 8dd9987a9c
commit 1797f45e8f
2 changed files with 32 additions and 17 deletions

View File

@ -84,7 +84,6 @@ private:
QSet<int> m_doing;
QSet<int> m_done;
QSet<int> m_failed;
qint64 current_progress = 0;
qint64 total_progress = 0;
qint64 m_current_progress = 0;
bool m_aborted = false;
};