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:
parent
087102d456
commit
0269ea41ea
@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user