[Pkg-owncloud-commits] [owncloud-client] 38/219: Progress: in case of resuming chunks, advance directly at startup by the amount of chunk already done

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Oct 11 14:43:07 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 34a27c748ac6a2c676e334bc238c7b9e1464773c
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Fri Aug 29 16:06:56 2014 +0200

    Progress: in case of resuming chunks, advance directly at startup by the amount of chunk already done
    
    Fixes #2103
---
 src/mirall/propagator_qnam.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mirall/propagator_qnam.cpp b/src/mirall/propagator_qnam.cpp
index 3b88aaa..0bbd75b 100644
--- a/src/mirall/propagator_qnam.cpp
+++ b/src/mirall/propagator_qnam.cpp
@@ -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());
 }
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list