1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-29 08:40:40 +02:00

fix stopping and starting stations

This commit is contained in:
Leo Franchi
2011-02-06 16:33:52 -05:00
parent 59e6714f3f
commit 024a8586c0

View File

@@ -29,7 +29,6 @@ DynamicModel::DynamicModel( QObject* parent )
, m_lastResolvedRow( 0 ) , m_lastResolvedRow( 0 )
{ {
connect( AudioEngine::instance(), SIGNAL( loading( Tomahawk::result_ptr ) ), this, SLOT( newTrackLoading() ) );
} }
DynamicModel::~DynamicModel() DynamicModel::~DynamicModel()
@@ -53,10 +52,14 @@ DynamicModel::loadPlaylist( const Tomahawk::dynplaylist_ptr& playlist )
void void
DynamicModel::startOnDemand() DynamicModel::startOnDemand()
{ {
connect( AudioEngine::instance(), SIGNAL( loading( Tomahawk::result_ptr ) ), this, SLOT( newTrackLoading() ) );
m_playlist->generator()->startOnDemand(); m_playlist->generator()->startOnDemand();
m_onDemandRunning = true; m_onDemandRunning = true;
m_startOnResolved = true; m_startOnResolved = true;
m_currentAttempts = 0;
m_lastResolvedRow = 0;
} }
void void