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:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user