[vlc-devel] commit: QT4: leave assert there (Ilkka Ollakka )

git version control git at videolan.org
Tue Jan 26 21:55:12 CET 2010


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Tue Jan 26 22:54:46 2010 +0200| [c8cce5ff10787245837f85b973b987d6c9225601] | committer: Ilkka Ollakka 

QT4: leave assert there

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c8cce5ff10787245837f85b973b987d6c9225601
---

 .../gui/qt4/components/playlist/standardpanel.cpp  |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/components/playlist/standardpanel.cpp b/modules/gui/qt4/components/playlist/standardpanel.cpp
index 840ce2f..abcdb5e 100644
--- a/modules/gui/qt4/components/playlist/standardpanel.cpp
+++ b/modules/gui/qt4/components/playlist/standardpanel.cpp
@@ -130,6 +130,7 @@ void StandardPLPanel::gotoPlayingItem()
 
 void StandardPLPanel::handleExpansion( const QModelIndex& index )
 {
+    assert( currentView );
     currentView->scrollTo( index );
 }
 




More information about the vlc-devel mailing list