1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-01-19 07:27:59 +01:00

Don't assert if results come from the database but have no valid collection

This commit is contained in:
Dominik Schmidt 2013-07-06 17:54:17 +02:00
parent 26b98fd6e3
commit e480f18b68

View File

@ -379,8 +379,6 @@ Result::sourceIcon( TomahawkUtils::ImageMode style, const QSize& desiredSize ) c
const ExternalResolver* resolver = qobject_cast< ExternalResolver* >( m_resolvedBy.data() );
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();
}
else