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