mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-22 08:52:12 +02:00
Make sure Query's resultSorter provides stable sorting.
This commit is contained in:
parent
8ee8721dda
commit
2bb0113515
@ -412,6 +412,8 @@ Query::resultSorter( const result_ptr& left, const result_ptr& right )
|
||||
{
|
||||
return left->resolvedBy()->weight() > right->resolvedBy()->weight();
|
||||
}
|
||||
|
||||
return left->id() > right->id();
|
||||
}
|
||||
|
||||
if ( left->isPreview() != right->isPreview() )
|
||||
|
Loading…
x
Reference in New Issue
Block a user