mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* Make sure IPv4 PlaydarAPI works on Windows with Qt4.
This commit is contained in:
@@ -481,11 +481,7 @@ TomahawkApp::initHTTP()
|
|||||||
}
|
}
|
||||||
if ( TomahawkSettings::instance()->httpBindAll() )
|
if ( TomahawkSettings::instance()->httpBindAll() )
|
||||||
{
|
{
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK( 5, 0, 0 )
|
|
||||||
playdarApi = new PlaydarApi( QHostAddress::Any, 60210, 60211, this ); // TODO Auth
|
playdarApi = new PlaydarApi( QHostAddress::Any, 60210, 60211, this ); // TODO Auth
|
||||||
#else
|
|
||||||
playdarApi = new PlaydarApi( QHostAddress::AnyIPv6, 60210, 60211, this ); // TODO Auth
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user