1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 14:16:32 +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 )
{
#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
QDesktopServices::openUrl( url );
#endif