Commit cfa61f34 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Qt: fix a leak in iconView

parent 23c18327
......@@ -189,6 +189,6 @@ PlIconView::PlIconView( PLModel *model, QWidget *parent ) : QListView( parent )
setSelectionMode( QAbstractItemView::ExtendedSelection );
setAcceptDrops( true );
PlListViewItemDelegate *pl = new PlListViewItemDelegate();
PlListViewItemDelegate *pl = new PlListViewItemDelegate( this );
setItemDelegate( pl );
}
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