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

Fix logical mistake

This commit is contained in:
Jeff Mitchell
2011-12-09 23:20:57 -05:00
parent 3430535774
commit 93a31146b1

View File

@@ -687,7 +687,7 @@ AudioEngine::setPlaylist( Tomahawk::playlistinterface_ptr playlist )
m_playlist.data()->reset(); m_playlist.data()->reset();
} }
if ( !playlist.isNull() ) if ( playlist.isNull() )
{ {
m_playlist.clear(); m_playlist.clear();
emit playlistChanged( playlist ); emit playlistChanged( playlist );