1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-13 20:39:57 +01:00

If a Query gets created with result attached, manually set the score to 1.0.

This commit is contained in:
Christian Muehlhaeuser 2015-04-04 14:54:01 +02:00
parent 32a454fbc4
commit 6245f9d789

View File

@ -122,6 +122,7 @@ Query::Query( const track_ptr& track, const result_ptr& result )
d->results << result;
d->playable = result->playable();
d->solved = true;
d->score = 1.0;
connect( result.data(), SIGNAL( statusChanged() ), SLOT( onResultStatusChanged() ) );
}