mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-17 19:37:09 +02:00
Reset a query's score when all results vanished.
This commit is contained in:
@@ -515,6 +515,11 @@ Query::checkResults()
|
|||||||
{
|
{
|
||||||
d->score = howSimilar( d->results.first() );
|
d->score = howSimilar( d->results.first() );
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
d->score = 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
bool playable = false;
|
bool playable = false;
|
||||||
bool solved = false;
|
bool solved = false;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user