1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-07 22:56:42 +02:00

* Try to fix compiling on mingw.

This commit is contained in:
Christian Muehlhaeuser
2012-07-12 09:14:33 +02:00
parent a9dff282e3
commit daf895c53d

View File

@@ -299,7 +299,7 @@ void
openUrl( const QUrl& url ) openUrl( const QUrl& url )
{ {
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
ShellExecuteW( 0, 0, (TCHAR*)url.toString().utf16(), 0, 0, SW_SHOWNORMAL ); ShellExecuteW( 0, 0, (LPCWSTR*)url.toString().utf16(), 0, 0, SW_SHOWNORMAL );
#else #else
QDesktopServices::openUrl( url ); QDesktopServices::openUrl( url );
#endif #endif