mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-17 11:30:49 +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;
|
return true;
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
|
if ( right->purchaseUrl().isEmpty() )
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if ( right->collection() && right->collection()->source()->isLocal() )
|
if ( right->collection() && right->collection()->source()->isLocal() )
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user