1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-07 06:36:55 +02:00

Crash less

This commit is contained in:
Leo Franchi
2011-08-03 10:44:02 -04:00
parent d803a36915
commit 8f4ea6d95d

View File

@@ -473,7 +473,7 @@ AudioEngine::loadNextTrack()
void void
AudioEngine::playItem( Tomahawk::PlaylistInterface* playlist, const Tomahawk::result_ptr& result ) AudioEngine::playItem( Tomahawk::PlaylistInterface* playlist, const Tomahawk::result_ptr& result )
{ {
tDebug( LOGEXTRA ) << Q_FUNC_INFO << result->url(); tDebug( LOGEXTRA ) << Q_FUNC_INFO << ( result.isNull() ? QString() : result->url() );
if ( !m_playlist.isNull() ) if ( !m_playlist.isNull() )
m_playlist.data()->reset(); m_playlist.data()->reset();