mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 17:37:36 +03:00
Fix for issue #2703
This commit is contained in:
parent
ac0e8b1fe1
commit
ef9f2a965d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue