diff --git a/src/libtomahawk/network/Servent.cpp b/src/libtomahawk/network/Servent.cpp index f535c7fc4..aff092dba 100644 --- a/src/libtomahawk/network/Servent.cpp +++ b/src/libtomahawk/network/Servent.cpp @@ -140,11 +140,7 @@ Servent::startListening( QHostAddress ha, bool upnp, int port, Tomahawk::Network d->externalListenAll = false; -#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() ) @@ -201,7 +197,7 @@ Servent::startListening( QHostAddress ha, bool upnp, int port, Tomahawk::Network case Tomahawk::Network::ExternalAddress::Upnp: if ( upnp ) { - // upnp could be turned of on the cli with --noupnp + // upnp could be turned off on the cli with --noupnp tLog( LOGVERBOSE ) << Q_FUNC_INFO << "External address mode set to upnp..."; d_func()->portfwd = QPointer< PortFwdThread >( new PortFwdThread( d_func()->port ) ); Q_ASSERT( d_func()->portfwd );