From 41c1049db2202c1ef5e97243f1ee2695db78d9de Mon Sep 17 00:00:00 2001 From: Denis Dzyubenko Date: Mon, 20 Jul 2009 12:57:09 +0200 Subject: compile fix after the last commit --- src/gui/util/qdesktopservices_win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/util/qdesktopservices_win.cpp b/src/gui/util/qdesktopservices_win.cpp index dc016b6..62ab2f7 100644 --- a/src/gui/util/qdesktopservices_win.cpp +++ b/src/gui/util/qdesktopservices_win.cpp @@ -67,7 +67,7 @@ static bool openDocument(const QUrl &file) if (!file.isValid()) return false; QString filePath = file.toLocalFile(); - if (filePath.isEmpty() + if (filePath.isEmpty()) filePath = file.toString(); quintptr returnValue = (quintptr)ShellExecute(0, 0, (wchar_t*)filePath.utf16(), 0, 0, SW_SHOWNORMAL); return (returnValue > 32); //ShellExecute returns a value greater than 32 if successful -- cgit v0.12