mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-31 06:02:27 +02:00
* Guard some more.
This commit is contained in:
parent
b65d9d5809
commit
1c820a2beb
@ -495,7 +495,7 @@ AudioEngine::setPlaylist( PlaylistInterface* playlist )
|
||||
|
||||
m_playlist = playlist;
|
||||
|
||||
if ( m_playlist && m_playlist->retryMode() == PlaylistInterface::Retry )
|
||||
if ( m_playlist && m_playlist->object() && m_playlist->retryMode() == PlaylistInterface::Retry )
|
||||
connect( m_playlist->object(), SIGNAL( nextTrackReady() ), SLOT( playlistNextTrackReady() ) );
|
||||
|
||||
emit playlistChanged( playlist );
|
||||
|
Loading…
x
Reference in New Issue
Block a user