1
0
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:
Christian Muehlhaeuser 2016-02-06 07:07:31 +01:00
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() )