Fix for issue #2703

This commit is contained in:
Luca Lorenzetto 2015-01-14 17:39:14 +01:00
parent ac0e8b1fe1
commit ef9f2a965d

View file

@ -393,7 +393,7 @@ void ownCloudGui::slotFolderOpenAction( const QString& alias )
QString filePath = f->path(); QString filePath = f->path();
if (filePath.startsWith(QLatin1String("\\\\")) || filePath.startsWith(QLatin1String("//"))) if (filePath.startsWith(QLatin1String("\\\\")) || filePath.startsWith(QLatin1String("//")))
url.setUrl(QDir::toNativeSeparators(filePath)); url = QUrl::fromLocalFile(QDir::toNativeSeparators(filePath));
else else
url = QUrl::fromLocalFile(filePath); url = QUrl::fromLocalFile(filePath);
#endif #endif