diff --git a/src/libtomahawk/resolvers/QtScriptResolver.cpp b/src/libtomahawk/resolvers/QtScriptResolver.cpp index da08c9a86..8db352e25 100644 --- a/src/libtomahawk/resolvers/QtScriptResolver.cpp +++ b/src/libtomahawk/resolvers/QtScriptResolver.cpp @@ -223,7 +223,10 @@ QtScriptResolverHelper::addAlbumTrackResults( const QVariantMap& results ) QList< Tomahawk::query_ptr > queries; foreach ( const Tomahawk::result_ptr& result, tracks ) + { + result->setScore( 1.0 ); queries.append( result->toQuery() ); + } tDebug() << Q_FUNC_INFO << "about to push" << tracks.count() << "tracks"; diff --git a/src/libtomahawk/resolvers/ScriptCollection.cpp b/src/libtomahawk/resolvers/ScriptCollection.cpp index 3a58f0e1e..97693695c 100644 --- a/src/libtomahawk/resolvers/ScriptCollection.cpp +++ b/src/libtomahawk/resolvers/ScriptCollection.cpp @@ -146,6 +146,5 @@ ScriptCollection::onAlbumsFetched( const QList& albums ) void ScriptCollection::onTracksFetched( const QList& tracks ) { - tDebug() << Q_FUNC_INFO << "About to emit tracksResult"; emit tracksResult( tracks ); }