Skip to content
Snippets Groups Projects
Commit adfc4aa9 authored by François Cartegnie's avatar François Cartegnie :fingers_crossed:
Browse files

Qt: addons: sort view

parent b69ad311
No related branches found
No related tags found
No related merge requests found
......@@ -359,6 +359,8 @@ AddonsTab::AddonsTab( intf_thread_t *p_intf_ ) : QVLCFrame( p_intf_ )
AddonsListModel *model = new AddonsListModel( AM, addonsView );
addonsModel = new AddonsSortFilterProxyModel();
addonsModel->setDynamicSortFilter( true );
addonsModel->setSortRole( Qt::DisplayRole );
addonsModel->sort( 0, Qt::AscendingOrder );
addonsModel->setSourceModel( model );
addonsModel->setFilterRole( Qt::DisplayRole );
addonsView->setModel( addonsModel );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment