Do not account the size of deleted or renamed file in the progress

Fixes #1360
This commit is contained in:
Olivier Goffart 2014-01-20 16:49:52 +01:00
parent 0afbb264e0
commit 7f76fcff5e

View file

@ -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);