diff --git a/src/mirall/owncloudinfo.cpp b/src/mirall/owncloudinfo.cpp index f3e057a0f..f3e9c9492 100644 --- a/src/mirall/owncloudinfo.cpp +++ b/src/mirall/owncloudinfo.cpp @@ -296,7 +296,7 @@ void ownCloudInfo::slotGetDirectoryListingFinished() currentItem = reader.readElementText(); } else if (name == QLatin1String("collection") && !currentItem.isEmpty()) { - folders.append(currentItem); + folders.append(QUrl::fromEncoded(currentItem.toLatin1()).path()); currentItem.clear(); } }