1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-01-18 06:48:23 +01:00

Reset a query's score when all results vanished.

This commit is contained in:
Christian Muehlhaeuser 2015-04-04 17:15:07 +02:00
parent ac7401e235
commit e41a1014f9

View File

@ -515,6 +515,11 @@ Query::checkResults()
{
d->score = howSimilar( d->results.first() );
}
else
{
d->score = 0.0;
}
bool playable = false;
bool solved = false;