[Pkg-owncloud-commits] [owncloud-client] 249/470: SyncFileStatusTracker: Fix compilation with older Qt

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu May 12 16:25:09 UTC 2016


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 c1503500965b56a789c7cdba67ac3f8e2f9c92a0
Author: Christian Kamm <mail at ckamm.de>
Date:   Wed Mar 30 13:41:44 2016 +0200

    SyncFileStatusTracker: Fix compilation with older Qt
---
 src/libsync/syncfilestatustracker.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libsync/syncfilestatustracker.cpp b/src/libsync/syncfilestatustracker.cpp
index 72076c9..8f4f734 100644
--- a/src/libsync/syncfilestatustracker.cpp
+++ b/src/libsync/syncfilestatustracker.cpp
@@ -184,7 +184,7 @@ void SyncFileStatusTracker::invalidateParentPaths(const QString& path)
 {
     QStringList splitPath = path.split('/', QString::SkipEmptyParts);
     for (int i = 0; i < splitPath.size(); ++i) {
-        QString parentPath = splitPath.mid(0, i).join('/');
+        QString parentPath = QStringList(splitPath.mid(0, i)).join(QLatin1String("/"));
         emit fileStatusChanged(_syncEngine->localPath() + parentPath, fileStatus(parentPath));
     }
 }

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