[Pkg-owncloud-commits] [owncloud-client] 156/219: DownloadJob: Refresh the FileInfo after renaming the target file.

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Oct 11 14:43:21 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 31bf844452bc0b6b53f5e8ab6ad6afa006c74d2a
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Wed Sep 24 21:06:59 2014 +0200

    DownloadJob: Refresh the FileInfo after renaming the target file.
    
    Otherwise the activity view reports file size 0.
---
 src/mirall/propagator_qnam.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mirall/propagator_qnam.cpp b/src/mirall/propagator_qnam.cpp
index f1b6974..23bdbd7 100644
--- a/src/mirall/propagator_qnam.cpp
+++ b/src/mirall/propagator_qnam.cpp
@@ -759,6 +759,7 @@ void PropagateDownloadFileQNAM::downloadFinished()
         return;
     }
 
+    existingFile.refresh();
     // Maybe we downloaded a newer version of the file than we thought we would...
     // Get up to date information for the journal.
     FileSystem::setModTime(fn, _item._modtime);

-- 
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