From c1503500965b56a789c7cdba67ac3f8e2f9c92a0 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Wed, 30 Mar 2016 13:41:44 +0200 Subject: [PATCH] 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 72076c923..8f4f734f3 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)); } }