diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-09-10 00:29:25 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-09-10 00:29:25 +0200 |
commit | 91a3e650e98c289ec183e8c4091da0dae0968f88 (patch) | |
tree | 9e40a21805b2fcca7d5b2ed348cd8ac87343ff1a /logic/net/DownloadJob.h | |
parent | 2ae60038aaa36e91426b32667a2668aba8497dfc (diff) | |
download | PrismLauncher-91a3e650e98c289ec183e8c4091da0dae0968f88.tar.gz PrismLauncher-91a3e650e98c289ec183e8c4091da0dae0968f88.tar.bz2 PrismLauncher-91a3e650e98c289ec183e8c4091da0dae0968f88.zip |
Fix download progress (bars)
Diffstat (limited to 'logic/net/DownloadJob.h')
-rw-r--r-- | logic/net/DownloadJob.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/logic/net/DownloadJob.h b/logic/net/DownloadJob.h index 71466282..69a49e59 100644 --- a/logic/net/DownloadJob.h +++ b/logic/net/DownloadJob.h @@ -51,6 +51,9 @@ private slots: private: QString m_job_name; QList<DownloadPtr> downloads; + QList<QPair<qint64, qint64>> parts_progress; + qint64 current_progress = 0; + qint64 total_progress = 0; int num_succeeded = 0; int num_failed = 0; }; |