summaryrefslogtreecommitdiffstats
path: root/api/logic/net/NetJob.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-07-06 15:38:16 +0200
committerPetr Mrázek <peterix@gmail.com>2017-07-06 15:38:16 +0200
commit1797f45e8fa3ab505987cdaed8a2a8ad9b472456 (patch)
tree32a8c40303ea9008d7bb46393890b26ed71e626d /api/logic/net/NetJob.h
parent8dd9987a9c616c6ee47479007c0757ff468f8d2c (diff)
downloadMultiMC-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.h3
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;
};