mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-07 14:46:33 +02:00
* Fixed TWK-708: Resolve album page top-to-bottom.
This commit is contained in:
@@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#include <QMimeData>
|
#include <QMimeData>
|
||||||
|
|
||||||
|
#include "pipeline.h"
|
||||||
#include "source.h"
|
#include "source.h"
|
||||||
#include "sourcelist.h"
|
#include "sourcelist.h"
|
||||||
#include "audio/audioengine.h"
|
#include "audio/audioengine.h"
|
||||||
@@ -929,10 +930,11 @@ TreeModel::infoSystemInfo( Tomahawk::InfoSystem::InfoRequestData requestData, QV
|
|||||||
|
|
||||||
foreach ( const QString& trackName, tracks )
|
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++ );
|
query->setAlbumPos( trackNo++ );
|
||||||
ql << query;
|
ql << query;
|
||||||
}
|
}
|
||||||
|
Pipeline::instance()->resolve( ql );
|
||||||
|
|
||||||
onTracksAdded( ql, idx );
|
onTracksAdded( ql, idx );
|
||||||
}
|
}
|
||||||
|
@@ -36,6 +36,8 @@
|
|||||||
#include "widgets/OverlayButton.h"
|
#include "widgets/OverlayButton.h"
|
||||||
#include "widgets/overlaywidget.h"
|
#include "widgets/overlaywidget.h"
|
||||||
|
|
||||||
|
#include "pipeline.h"
|
||||||
|
|
||||||
using namespace Tomahawk;
|
using namespace Tomahawk;
|
||||||
|
|
||||||
|
|
||||||
@@ -260,7 +262,8 @@ ArtistInfoWidget::infoSystemInfo( Tomahawk::InfoSystem::InfoRequestData requestD
|
|||||||
int i = 0;
|
int i = 0;
|
||||||
foreach ( const QString& track, tracks )
|
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 )
|
if ( ++i == 15 )
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user