mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-08 07:07:05 +02:00
Compare constant tuples
This commit is contained in:
@@ -810,7 +810,7 @@ JSResolverHelper::addToFuzzyIndex( const QVariantList& list )
|
|||||||
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
cmpTuple ( QVariant& x, QVariant& y )
|
cmpTuple ( const QVariant& x, const QVariant& y )
|
||||||
{
|
{
|
||||||
return x.toList().at( 1 ).toFloat() < y.toList().at( 1 ).toFloat();
|
return x.toList().at( 1 ).toFloat() < y.toList().at( 1 ).toFloat();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user