1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 19:30:21 +02:00

* Fixed TWK-1088: Don't crash when checking for stop-playback track when starting the very first track after startup.

This commit is contained in:
Christian Muehlhaeuser
2012-11-12 07:43:09 +01:00
parent 29533d7dab
commit b5b96015d9

View File

@@ -535,7 +535,7 @@ AudioEngine::loadNextTrack()
Tomahawk::result_ptr result;
if ( !m_stopAfterTrack.isNull() )
if ( !m_stopAfterTrack.isNull() && !m_currentTrack.isNull() )
{
if ( m_stopAfterTrack->equals( m_currentTrack->toQuery() ) )
{