1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 14:16:32 +02:00

For extra safety check if resolver is null

This commit is contained in:
Leo Franchi
2013-01-09 18:48:29 -05:00
parent 2243e401e3
commit 65911fc133

View File

@@ -235,6 +235,9 @@ ResolverAccount::resolverChanged()
QPixmap QPixmap
ResolverAccount::icon() const ResolverAccount::icon() const
{ {
if ( m_resolver.isNull() )
return QPixmap();
return m_resolver.data()->icon(); return m_resolver.data()->icon();
} }