]> git.sesse.net Git - vlc/commitdiff
QT4: leave assert there
authorIlkka Ollakka <ileoo@videolan.org>
Tue, 26 Jan 2010 20:54:46 +0000 (22:54 +0200)
committerIlkka Ollakka <ileoo@videolan.org>
Tue, 26 Jan 2010 20:54:46 +0000 (22:54 +0200)
modules/gui/qt4/components/playlist/standardpanel.cpp

index 840ce2f433171921226dd80486e5059be3ea548b..abcdb5eb8d04e37e53779e89f35daae44ac545bb 100644 (file)
@@ -130,6 +130,7 @@ void StandardPLPanel::gotoPlayingItem()
 
 void StandardPLPanel::handleExpansion( const QModelIndex& index )
 {
+    assert( currentView );
     currentView->scrollTo( index );
 }