mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 21:57:41 +02:00
Don't assert if results come from the database but have no valid collection
This commit is contained in:
@@ -379,8 +379,6 @@ Result::sourceIcon( TomahawkUtils::ImageMode style, const QSize& desiredSize ) c
|
|||||||
const ExternalResolver* resolver = qobject_cast< ExternalResolver* >( m_resolvedBy.data() );
|
const ExternalResolver* resolver = qobject_cast< ExternalResolver* >( m_resolvedBy.data() );
|
||||||
if ( !resolver )
|
if ( !resolver )
|
||||||
{
|
{
|
||||||
tLog() << "Result was not resolved by an ExternalResolver but the collection is empty too. What is going on?";
|
|
||||||
Q_ASSERT( resolver );
|
|
||||||
return QPixmap();
|
return QPixmap();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user