diff --git a/src/libtomahawk/playlist/treemodel.cpp b/src/libtomahawk/playlist/treemodel.cpp index bb2026041..98100d65d 100644 --- a/src/libtomahawk/playlist/treemodel.cpp +++ b/src/libtomahawk/playlist/treemodel.cpp @@ -20,6 +20,7 @@ #include +#include "pipeline.h" #include "source.h" #include "sourcelist.h" #include "audio/audioengine.h" @@ -929,10 +930,11 @@ TreeModel::infoSystemInfo( Tomahawk::InfoSystem::InfoRequestData requestData, QV foreach ( const QString& trackName, tracks ) { - query_ptr query = Query::get( inputInfo[ "artist" ], trackName, inputInfo[ "album" ], uuid() ); + query_ptr query = Query::get( inputInfo[ "artist" ], trackName, inputInfo[ "album" ] ); query->setAlbumPos( trackNo++ ); ql << query; } + Pipeline::instance()->resolve( ql ); onTracksAdded( ql, idx ); } diff --git a/src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.cpp b/src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.cpp index b663b8a72..7fceff304 100644 --- a/src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.cpp +++ b/src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.cpp @@ -36,6 +36,8 @@ #include "widgets/OverlayButton.h" #include "widgets/overlaywidget.h" +#include "pipeline.h" + using namespace Tomahawk; @@ -260,7 +262,8 @@ ArtistInfoWidget::infoSystemInfo( Tomahawk::InfoSystem::InfoRequestData requestD int i = 0; foreach ( const QString& track, tracks ) { - queries << Query::get( m_artist->name(), track, QString(), uuid() ); + queries << Query::get( m_artist->name(), track, QString() ); + Pipeline::instance()->resolve( queries ); if ( ++i == 15 ) break;