mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-23 04:45:43 +03:00
Progress: in case of resuming chunks, advance directly at startup by the amount of chunk already done
Fixes #2103
This commit is contained in:
parent
a73fbccf8c
commit
34a27c748a
1 changed files with 1 additions and 1 deletions
|
@ -382,7 +382,7 @@ void PropagateUploadFileQNAM::slotUploadProgress(qint64 sent, qint64)
|
|||
int progressChunk = _currentChunk + _startChunk;
|
||||
if (progressChunk >= _chunkCount)
|
||||
progressChunk = _currentChunk;
|
||||
emit progress(_item, sent + _currentChunk * chunkSize());
|
||||
emit progress(_item, sent + progressChunk * chunkSize());
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue