mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-15 10:33:59 +02:00
Pointer guard
This commit is contained in:
@@ -87,6 +87,9 @@ XmppAccount::isAuthenticated() const
|
||||
Account::ConnectionState
|
||||
XmppAccount::connectionState() const
|
||||
{
|
||||
if ( m_xmppSipPlugin.isNull() )
|
||||
return Account::Disconnected;
|
||||
|
||||
return m_xmppSipPlugin.data()->connectionState();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user