mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-13 20:39:57 +01:00
* Fixed TWK-708: Resolve album page top-to-bottom.
This commit is contained in:
parent
bddbc7a194
commit
58dfc54e00
@ -20,6 +20,7 @@
|
||||
|
||||
#include <QMimeData>
|
||||
|
||||
#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 );
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user