SyncFileStatusTracker: Fix compilation with older Qt

This commit is contained in:
Christian Kamm 2016-03-30 13:41:44 +02:00
parent c35e74d264
commit c150350096

View file

@ -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));
}
}