mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 13:35:58 +03:00
Fix win32 build again.
This commit is contained in:
parent
b7b617ac28
commit
dc7c6d1913
2 changed files with 2 additions and 2 deletions
|
@ -323,7 +323,7 @@ void Application::slotFolderOpenAction( const QString& alias )
|
|||
// work around a bug in QDesktopServices on Win32, see i-net
|
||||
QString filePath = f->path();
|
||||
|
||||
if (filePath.startsWith(QLatin1String("\\\\") || filePath.startsWith("//"))
|
||||
if (filePath.startsWith("\\\\") || filePath.startsWith("//"))
|
||||
url.setUrl(QDir::toNativeSeparators(filePath));
|
||||
else
|
||||
url = QUrl::fromLocalFile(filePath);
|
||||
|
|
|
@ -419,7 +419,7 @@ void StatusDialog::slotOCInfo( const QString& url, const QString& versionStr, co
|
|||
// work around a bug in QDesktopServices on Win32, see i-net
|
||||
QString filePath = url;
|
||||
|
||||
if (filePath.startsWith(QLatin1String("\\\\") || filePath.startsWith(QLatin1String("//"))
|
||||
if (filePath.startsWith("\\\\") || filePath.startsWith("//"))
|
||||
_OCUrl.setUrl(QDir::toNativeSeparators(filePath));
|
||||
else
|
||||
_OCUrl = QUrl::fromLocalFile(filePath);
|
||||
|
|
Loading…
Reference in a new issue