diff --git a/src/gui/owncloudgui.cpp b/src/gui/owncloudgui.cpp index 50b4804a5..93afcc088 100644 --- a/src/gui/owncloudgui.cpp +++ b/src/gui/owncloudgui.cpp @@ -393,7 +393,7 @@ void ownCloudGui::slotFolderOpenAction( const QString& alias ) QString filePath = f->path(); if (filePath.startsWith(QLatin1String("\\\\")) || filePath.startsWith(QLatin1String("//"))) - url.setUrl(QDir::toNativeSeparators(filePath)); + url = QUrl::fromLocalFile(QDir::toNativeSeparators(filePath)); else url = QUrl::fromLocalFile(filePath); #endif