diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-07-20 10:57:09 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-07-20 10:57:09 (GMT) |
commit | 41c1049db2202c1ef5e97243f1ee2695db78d9de (patch) | |
tree | 2b08d9a4b10c490583adcc5307b56f9db5e69048 /src | |
parent | 2352454bdcc33f5914a245fd318e1591c3301711 (diff) | |
download | Qt-41c1049db2202c1ef5e97243f1ee2695db78d9de.zip Qt-41c1049db2202c1ef5e97243f1ee2695db78d9de.tar.gz Qt-41c1049db2202c1ef5e97243f1ee2695db78d9de.tar.bz2 |
compile fix after the last commit
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/util/qdesktopservices_win.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |