1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-18 03:41:27 +02:00

Style fixes

This commit is contained in:
Uwe L. Korn
2014-10-27 19:54:52 +01:00
parent 4a843cc7eb
commit 6f7a0e678f

View File

@@ -37,14 +37,13 @@ using namespace Accounts;
ZeroconfPlugin::ZeroconfPlugin ( ZeroconfAccount* parent )
: SipPlugin( parent )
, m_zeroconf( 0 )
, m_zeroconf( nullptr )
, m_state( Account::Disconnected )
, m_cachedNodes()
{
qDebug() << Q_FUNC_INFO;
m_advertisementTimer.setInterval( 60000 );
m_advertisementTimer.setSingleShot( false );
connect( &m_advertisementTimer, SIGNAL( timeout() ), this, SLOT( advertise() ) );
connect( &m_advertisementTimer, SIGNAL( timeout() ), SLOT( advertise() ) );
}
@@ -101,7 +100,7 @@ ZeroconfPlugin::disconnectPlugin()
m_state = Account::Disconnected;
delete m_zeroconf;
m_zeroconf = 0;
m_zeroconf = nullptr;
setAllPeersOffline();
}