mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 03:10:12 +02:00
Make sure to emit stateChanged() with Disconnecting before actually disconnecting
This commit is contained in:
@@ -261,9 +261,10 @@ XmppSipPlugin::disconnectPlugin()
|
|||||||
|
|
||||||
publishTune( QUrl(), Tomahawk::InfoSystem::InfoStringHash() );
|
publishTune( QUrl(), Tomahawk::InfoSystem::InfoStringHash() );
|
||||||
|
|
||||||
m_client->disconnectFromServer( true );
|
|
||||||
m_state = Account::Disconnecting;
|
m_state = Account::Disconnecting;
|
||||||
emit stateChanged( m_state );
|
emit stateChanged( m_state );
|
||||||
|
|
||||||
|
m_client->disconnectFromServer( true );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user