CLOUD: Make ProgressDialog display downloading progress
This commit is contained in:
parent
3db80154d6
commit
0ce7be17d3
7 changed files with 40 additions and 2 deletions
|
@ -139,6 +139,12 @@ bool CloudManager::isSyncing() {
|
|||
return false;
|
||||
}
|
||||
|
||||
double CloudManager::getSyncDownloadingProgress() {
|
||||
Storage *storage = getCurrentStorage();
|
||||
if (storage) return storage->getSyncDownloadingProgress();
|
||||
return 1;
|
||||
}
|
||||
|
||||
double CloudManager::getSyncProgress() {
|
||||
Storage *storage = getCurrentStorage();
|
||||
if (storage) return storage->getSyncProgress();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue