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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user