1
0
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:
Leo Franchi
2012-08-16 10:03:00 -04:00
parent 4f3118f5d4
commit 725f6c48f9

View File

@@ -87,6 +87,9 @@ XmppAccount::isAuthenticated() const
Account::ConnectionState
XmppAccount::connectionState() const
{
if ( m_xmppSipPlugin.isNull() )
return Account::Disconnected;
return m_xmppSipPlugin.data()->connectionState();
}