mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-11 16:44:05 +02:00
Clear playlist on station stop
This commit is contained in:
@@ -76,6 +76,8 @@ DynamicModel::stopOnDemand()
|
||||
m_onDemandRunning = false;
|
||||
AudioEngine::instance()->stop();
|
||||
|
||||
// delete all the tracks
|
||||
clear();
|
||||
disconnect( AudioEngine::instance(), SIGNAL( loading( Tomahawk::result_ptr ) ), this, SLOT( newTrackLoading() ) );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user