1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-06 00:52:34 +02:00

Make sure to emit stateChanged() with Disconnecting before actually disconnecting

This commit is contained in:
Leo Franchi 2012-08-14 08:25:02 -04:00
parent 087102d456
commit 0269ea41ea

View File

@ -261,9 +261,10 @@ XmppSipPlugin::disconnectPlugin()
publishTune( QUrl(), Tomahawk::InfoSystem::InfoStringHash() );
m_client->disconnectFromServer( true );
m_state = Account::Disconnecting;
emit stateChanged( m_state );
m_client->disconnectFromServer( true );
}