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