mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 05:15:40 +03:00
Do not account the size of deleted or renamed file in the progress
Fixes #1360
This commit is contained in:
parent
0afbb264e0
commit
7f76fcff5e
1 changed files with 2 additions and 4 deletions
|
@ -658,14 +658,12 @@ void CSyncThread::slotProgress(Progress::Kind kind, const SyncFileItem& item, qu
|
|||
_currentFileNo += 1;
|
||||
_previousIndex = indx;
|
||||
}
|
||||
curr = 0;
|
||||
}
|
||||
|
||||
if( kind == Progress::EndUpload ||
|
||||
kind == Progress::EndDownload ||
|
||||
kind == Progress::EndRename ||
|
||||
kind == Progress::EndDelete ) {
|
||||
kind == Progress::EndDownload) {
|
||||
_lastOverallBytes += total;
|
||||
curr = 0;
|
||||
}
|
||||
|
||||
Progress::Info pInfo(_progressInfo);
|
||||
|
|
Loading…
Reference in a new issue