1
0
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:
Christian Muehlhaeuser 2011-06-24 05:49:20 +02:00
parent b65d9d5809
commit 1c820a2beb

View File

@ -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 );