mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
Link script collection results to their collection
This commit is contained in:
@@ -233,6 +233,7 @@ JSResolverHelper::addAlbumTrackResults( const QVariantMap& results )
|
|||||||
foreach ( const Tomahawk::result_ptr& result, tracks )
|
foreach ( const Tomahawk::result_ptr& result, tracks )
|
||||||
{
|
{
|
||||||
result->setScore( 1.0 );
|
result->setScore( 1.0 );
|
||||||
|
result->setCollection( collection );
|
||||||
queries.append( result->toQuery() );
|
queries.append( result->toQuery() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user