Commit ec86ab4e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: iconView, use uniformItemSizes()

From Qt's doc:
"This enables the view to do some optimizations for performance purposes."
parent 4807aded
......@@ -98,6 +98,7 @@ PlIconView::PlIconView( PLModel *model, QWidget *parent ) : QListView( parent )
setMovement( QListView::Static );
setResizeMode( QListView::Adjust );
setGridSize( QSize( 100, 100 ) );
setUniformItemSizes( true );
setSpacing( ITEMS_SPACING );
setWrapping( true );
......
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