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 cde0a79..1c3d93d 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& ) );