diff options
author | Alexander Tkachev | 2016-07-14 15:29:47 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | 0ca791709329c3e7f24f68fa2da7c86c87dac557 (patch) | |
tree | 17ef63035c6226d45c758f3f59b580c174b32d63 /gui/downloaddialog.cpp | |
parent | ca33c0a0a8ce31b13137f74ba15e226b3855b75a (diff) | |
download | scummvm-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/downloaddialog.cpp')
-rw-r--r-- | gui/downloaddialog.cpp | 2 |
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); } |