mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-10 08:04:25 +02:00
If a Query gets created with result attached, manually set the score to 1.0.
This commit is contained in:
@@ -122,6 +122,7 @@ Query::Query( const track_ptr& track, const result_ptr& result )
|
|||||||
d->results << result;
|
d->results << result;
|
||||||
d->playable = result->playable();
|
d->playable = result->playable();
|
||||||
d->solved = true;
|
d->solved = true;
|
||||||
|
d->score = 1.0;
|
||||||
connect( result.data(), SIGNAL( statusChanged() ), SLOT( onResultStatusChanged() ) );
|
connect( result.data(), SIGNAL( statusChanged() ), SLOT( onResultStatusChanged() ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user