]> git.sesse.net Git - vlc/commitdiff
Qt4 - Playlist: AutoScroll the playlist.
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 17 Apr 2007 17:25:53 +0000 (17:25 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 17 Apr 2007 17:25:53 +0000 (17:25 +0000)
modules/gui/qt4/components/playlist/standardpanel.cpp

index cde0a792ed0667c501527ddce97dd6700278bc5d..1c3d93d02a26b7f13c4294d1eeaff4f320a43265 100644 (file)
@@ -60,9 +60,10 @@ StandardPLPanel::StandardPLPanel( BasePlaylistWidget *_parent,
     view->header()->setClickable( true );
 
     view->setSelectionMode( QAbstractItemView::ExtendedSelection );
-    view->setDragEnabled(true);
-    view->setAcceptDrops(true);
-    view->setDropIndicatorShown(true);
+    view->setDragEnabled( true );
+    view->setAcceptDrops( true );
+    view->setDropIndicatorShown( true );
+    view->setAutoScroll( true );
 
     CONNECT( view, activated( const QModelIndex& ) ,
              model,activateItem( const QModelIndex& ) );