Fix win32 build again.

This commit is contained in:
Klaas Freitag 2012-05-26 13:25:05 +02:00
parent b7b617ac28
commit dc7c6d1913
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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);