mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-08 07:07:05 +02:00
* Try to fix compiling on mingw.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user