1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 15:59:42 +01:00

* More consistent stateChanged() behaviour for sources.

This commit is contained in:
Christian Muehlhaeuser 2012-06-07 08:11:12 +02:00
parent e550ffe2b0
commit f57c0c5b74

View File

@ -369,7 +369,9 @@ Source::onPlaybackStarted( const Tomahawk::query_ptr& query, unsigned int durati
if ( m_playlistInterface.isNull() )
playlistInterface();
emit playbackStarted( query );
emit stateChanged();
}
@ -380,6 +382,7 @@ Source::onPlaybackFinished( const Tomahawk::query_ptr& query )
emit playbackFinished( query );
m_currentTrack.clear();
emit stateChanged();
}
@ -387,7 +390,6 @@ void
Source::trackTimerFired()
{
m_currentTrack.clear();
emit stateChanged();
}