aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorAlexander Tkachev2016-07-14 15:29:47 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit0ca791709329c3e7f24f68fa2da7c86c87dac557 (patch)
tree17ef63035c6226d45c758f3f59b580c174b32d63 /gui
parentca33c0a0a8ce31b13137f74ba15e226b3855b75a (diff)
downloadscummvm-rg350-0ca791709329c3e7f24f68fa2da7c86c87dac557.tar.gz
scummvm-rg350-0ca791709329c3e7f24f68fa2da7c86c87dac557.tar.bz2
scummvm-rg350-0ca791709329c3e7f24f68fa2da7c86c87dac557.zip
CLOUD: Update FolderDownloadRequest
It now keeps track of downloaded bytes.
Diffstat (limited to 'gui')
-rw-r--r--gui/downloaddialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/downloaddialog.cpp b/gui/downloaddialog.cpp
index 1ae4942928..fde560f271 100644
--- a/gui/downloaddialog.cpp
+++ b/gui/downloaddialog.cpp
@@ -192,7 +192,7 @@ void DownloadDialog::refreshWidgets() {
_remoteDirectoryLabel->setLabel(_("From: ") + CloudMan.getDownloadRemoteDirectory());
_localDirectoryLabel->setLabel(_("To: ") + _localDirectory);
uint32 progress = (uint32)(100 * CloudMan.getDownloadingProgress());
- _percentLabel->setLabel(Common::String::format("%u %%", progress));
+ _percentLabel->setLabel(Common::String::format("%u %% (%u bytes out of %u)", progress, CloudMan.getDownloadBytesNumber(), CloudMan.getDownloadTotalBytesNumber()));
_progressBar->setValue(progress);
}