mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-02-26 12:53:41 +01:00
Propagate the Any-ip ifdef
This commit is contained in:
parent
36cd7b3008
commit
8606fbd9b4
@ -148,7 +148,11 @@ Servent::startListening( QHostAddress ha, bool upnp, int port, Tomahawk::Network
|
||||
}
|
||||
}
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK( 5, 0, 0 )
|
||||
if ( ha == QHostAddress::Any )
|
||||
#else
|
||||
if ( ha == QHostAddress::AnyIPv6 )
|
||||
#endif
|
||||
{
|
||||
// We are listening on all available addresses, so we should send a SipInfo for all of them.
|
||||
foreach ( QHostAddress addr, QNetworkInterface::allAddresses() )
|
||||
|
Loading…
x
Reference in New Issue
Block a user