mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
For extra safety check if resolver is null
This commit is contained in:
@@ -235,6 +235,9 @@ ResolverAccount::resolverChanged()
|
||||
QPixmap
|
||||
ResolverAccount::icon() const
|
||||
{
|
||||
if ( m_resolver.isNull() )
|
||||
return QPixmap();
|
||||
|
||||
return m_resolver.data()->icon();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user