mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-17 19:37:09 +02:00
Additional safety for twitter account sip lookup
This commit is contained in:
@@ -83,6 +83,9 @@ TwitterAccount::configDialogAuthedSignalSlot( bool authed )
|
||||
Account::ConnectionState
|
||||
TwitterAccount::connectionState() const
|
||||
{
|
||||
if ( m_twitterSipPlugin.isNull() )
|
||||
return Account::Disconnected;
|
||||
|
||||
return m_twitterSipPlugin.data()->connectionState();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user