mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
* Guard some more.
This commit is contained in:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user