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:
parent
2243e401e3
commit
65911fc133
@ -235,6 +235,9 @@ ResolverAccount::resolverChanged()
|
||||
QPixmap
|
||||
ResolverAccount::icon() const
|
||||
{
|
||||
if ( m_resolver.isNull() )
|
||||
return QPixmap();
|
||||
|
||||
return m_resolver.data()->icon();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user