]> git.sesse.net Git - vlc/commitdiff
QT4: remove Ensurevisible from scrollTo
authorIlkka Ollakka <ileoo@videolan.org>
Mon, 3 Aug 2009 07:34:20 +0000 (10:34 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Mon, 3 Aug 2009 07:34:20 +0000 (10:34 +0300)
Parameter is default, so no need to tell it here.

modules/gui/qt4/components/playlist/standardpanel.cpp

index 34c73d614f1f494f6f6f6232bd6bd09295eadecc..4ac1da2240845f635b0430e7267306f4ec1a71ac 100644 (file)
@@ -211,7 +211,7 @@ void StandardPLPanel::gotoPlayingItem()
 
 void StandardPLPanel::handleExpansion( const QModelIndex& index )
 {
-    view->scrollTo( index, QAbstractItemView::EnsureVisible );
+    view->scrollTo( index );
 }
 
 void StandardPLPanel::setCurrentRootId( int _new )