mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-24 09:49:42 +01: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:
parent
29533d7dab
commit
b5b96015d9
@ -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() ) )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user