]> git.sesse.net Git - vlc/commitdiff
Multiple selection
authorClément Stenac <zorglub@videolan.org>
Thu, 24 Aug 2006 20:47:22 +0000 (20:47 +0000)
committerClément Stenac <zorglub@videolan.org>
Thu, 24 Aug 2006 20:47:22 +0000 (20:47 +0000)
modules/gui/qt4/components/playlist/standardpanel.cpp

index 3a770a71fdec7e3109aafbc17d679c003f199eef..891f497d07bc175c5940db53713c06240dca13bf 100644 (file)
@@ -42,6 +42,7 @@ StandardPLPanel::StandardPLPanel( QWidget *_parent, intf_thread_t *_p_intf,
     view = new QTreeView( 0 );
     view->setModel(model);
     view->header()->resizeSection( 0, 300 );
+    view->setSelectionMode( QAbstractItemView::ExtendedSelection );
 
     connect( view, SIGNAL( activated( const QModelIndex& ) ), model,
              SLOT( activateItem( const QModelIndex& ) ) );