[vlc-devel] commit: QT4: remove Ensurevisible from scrollTo (Ilkka Ollakka )

git version control git at videolan.org
Mon Aug 3 12:21:03 CEST 2009


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Mon Aug  3 10:34:20 2009 +0300| [c308d8ffbc1ac48469d2978f2f1f93177b8f90bc] | committer: Ilkka Ollakka 

QT4: remove Ensurevisible from scrollTo

Parameter is default, so no need to tell it here.

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

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

diff --git a/modules/gui/qt4/components/playlist/standardpanel.cpp b/modules/gui/qt4/components/playlist/standardpanel.cpp
index 34c73d6..4ac1da2 100644
--- a/modules/gui/qt4/components/playlist/standardpanel.cpp
+++ b/modules/gui/qt4/components/playlist/standardpanel.cpp
@@ -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 )




More information about the vlc-devel mailing list