1
0
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:
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; 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() ) ); connect( m_playlist->object(), SIGNAL( nextTrackReady() ), SLOT( playlistNextTrackReady() ) );
emit playlistChanged( playlist ); emit playlistChanged( playlist );