Commit 1298e0c9 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Playlist: AutoScroll the playlist.

parent 02617cc3
...@@ -60,9 +60,10 @@ StandardPLPanel::StandardPLPanel( BasePlaylistWidget *_parent, ...@@ -60,9 +60,10 @@ StandardPLPanel::StandardPLPanel( BasePlaylistWidget *_parent,
view->header()->setClickable( true ); view->header()->setClickable( true );
view->setSelectionMode( QAbstractItemView::ExtendedSelection ); view->setSelectionMode( QAbstractItemView::ExtendedSelection );
view->setDragEnabled(true); view->setDragEnabled( true );
view->setAcceptDrops(true); view->setAcceptDrops( true );
view->setDropIndicatorShown(true); view->setDropIndicatorShown( true );
view->setAutoScroll( true );
CONNECT( view, activated( const QModelIndex& ) , CONNECT( view, activated( const QModelIndex& ) ,
model,activateItem( const QModelIndex& ) ); model,activateItem( const QModelIndex& ) );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment