mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-02 12:20:45 +02:00
Sort equal results by resolver's weight
This commit is contained in:
@@ -408,7 +408,7 @@ Query::resultSorter( const result_ptr& left, const result_ptr& right )
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
return right->resolvedBy()->weight() > left->resolvedBy()->weight();
|
||||
}
|
||||
|
||||
if ( left->isPreview() != right->isPreview() )
|
||||
|
Reference in New Issue
Block a user