mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-07 06:36:55 +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() );
|
||||
|
||||
m_client->disconnectFromServer( true );
|
||||
m_state = Account::Disconnecting;
|
||||
emit stateChanged( m_state );
|
||||
|
||||
m_client->disconnectFromServer( true );
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user