mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-12 00:54:20 +02:00
fix a crash
This commit is contained in:
@@ -127,7 +127,7 @@ LastFmAccount::configurationWidget()
|
|||||||
Account::ConnectionState
|
Account::ConnectionState
|
||||||
LastFmAccount::connectionState() const
|
LastFmAccount::connectionState() const
|
||||||
{
|
{
|
||||||
return m_resolver.data()->running() ? Account::Connected : Account::Disconnected;
|
return (!m_resolver.isNull() && m_resolver.data()->running()) ? Account::Connected : Account::Disconnected;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user