1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-22 16:59:58 +01: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
ResolverAccount::icon() const
{
if ( m_resolver.isNull() )
return QPixmap();
return m_resolver.data()->icon();
}