1
0
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:
Lorenz Hübschle-Schneider
2014-10-21 16:48:03 +02:00
parent d17f509cea
commit 4422f73981

View File

@@ -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();
}