1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-17 19:37:09 +02:00

Fixed Query::resultSorter to take previews into account.

This commit is contained in:
Christian Muehlhaeuser
2015-04-09 02:23:23 +02:00
parent 2b55e597af
commit fe4a1853d8

View File

@@ -413,6 +413,12 @@ Query::resultSorter( const result_ptr& left, const result_ptr& right )
{
return true;
}*/
if ( right->purchaseUrl().isEmpty() )
{
return false;
}
if ( right->collection() && right->collection()->source()->isLocal() )
{
return false;