Commit ab8ac157 authored by Rafaël Carré's avatar Rafaël Carré
Browse files

qt4 playlist selector: selects the playlist on start

parent 7330c136
......@@ -50,6 +50,8 @@ PLSelector::PLSelector( QWidget *p, intf_thread_t *_p_intf,
layout->setSpacing( 0 ); layout->setMargin( 0 );
layout->addWidget( view );
setLayout( layout );
/* select the first item */
view->setCurrentIndex( model->index( 0, 0, QModelIndex() ) );
}
void PLSelector::setSource( const QModelIndex &index )
......
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