From 8d5082fe2c4ea821380264220076ec82e3abd2ae Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Thu, 12 Jul 2012 09:47:09 +0200 Subject: [PATCH] * Really fix compiling on Windows. --- src/libtomahawk/utils/TomahawkUtilsGui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtomahawk/utils/TomahawkUtilsGui.cpp b/src/libtomahawk/utils/TomahawkUtilsGui.cpp index 669041e22..4b981f9ec 100644 --- a/src/libtomahawk/utils/TomahawkUtilsGui.cpp +++ b/src/libtomahawk/utils/TomahawkUtilsGui.cpp @@ -299,7 +299,7 @@ void openUrl( const QUrl& url ) { #ifdef Q_OS_WIN - ShellExecuteW( 0, 0, (LPCWSTR*)url.toString().utf16(), 0, 0, SW_SHOWNORMAL ); + ShellExecuteW( 0, 0, (LPCWSTR)url.toString().utf16(), 0, 0, SW_SHOWNORMAL ); #else QDesktopServices::openUrl( url ); #endif