From dc7c6d191383a9a0c53c4e214ba58d4fa499714f Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Sat, 26 May 2012 13:25:05 +0200 Subject: [PATCH] Fix win32 build again. --- src/mirall/application.cpp | 2 +- src/mirall/statusdialog.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mirall/application.cpp b/src/mirall/application.cpp index 4c2bcd804..b483e6da8 100644 --- a/src/mirall/application.cpp +++ b/src/mirall/application.cpp @@ -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); diff --git a/src/mirall/statusdialog.cpp b/src/mirall/statusdialog.cpp index 01bb5702f..9cecaa76c 100644 --- a/src/mirall/statusdialog.cpp +++ b/src/mirall/statusdialog.cpp @@ -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);