diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-07-06 15:38:16 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-07-06 15:38:16 +0200 |
commit | 1797f45e8fa3ab505987cdaed8a2a8ad9b472456 (patch) | |
tree | 32a8c40303ea9008d7bb46393890b26ed71e626d /api/logic/net/NetJob.h | |
parent | 8dd9987a9c616c6ee47479007c0757ff468f8d2c (diff) | |
download | MultiMC-1797f45e8fa3ab505987cdaed8a2a8ad9b472456.tar MultiMC-1797f45e8fa3ab505987cdaed8a2a8ad9b472456.tar.gz MultiMC-1797f45e8fa3ab505987cdaed8a2a8ad9b472456.tar.lz MultiMC-1797f45e8fa3ab505987cdaed8a2a8ad9b472456.tar.xz MultiMC-1797f45e8fa3ab505987cdaed8a2a8ad9b472456.zip |
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.
Diffstat (limited to 'api/logic/net/NetJob.h')
-rw-r--r-- | api/logic/net/NetJob.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/api/logic/net/NetJob.h b/api/logic/net/NetJob.h index a7577246..2b5c3d9a 100644 --- a/api/logic/net/NetJob.h +++ b/api/logic/net/NetJob.h @@ -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; }; |