mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-16 19:14:06 +02:00
Fixed Query::resultSorter to take previews into account.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user