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

Stop the timer on new track starting

This commit is contained in:
Leo Franchi 2011-11-11 11:34:39 -05:00
parent f216a0fe82
commit 3c024ab7ac

View File

@ -310,6 +310,7 @@ Source::onPlaybackStarted( const Tomahawk::query_ptr& query )
{
qDebug() << Q_FUNC_INFO << query->toString();
m_currentTrack = query;
m_currentTrackTimer.stop();
if ( m_playlistInterface.isNull() )
getPlaylistInterface();
emit playbackStarted( query );