Commit 3a236ec5 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: iconView: don't allow the items to be moved.

parent b19a369a
...@@ -81,7 +81,7 @@ PlIconView::PlIconView( PLModel *model, QWidget *parent ) : QListView( parent ) ...@@ -81,7 +81,7 @@ PlIconView::PlIconView( PLModel *model, QWidget *parent ) : QListView( parent )
{ {
setModel( model ); setModel( model );
setViewMode( QListView::IconMode ); setViewMode( QListView::IconMode );
setMovement( QListView::Snap ); setMovement( QListView::Static );
PlListViewItemDelegate *pl = new PlListViewItemDelegate(); PlListViewItemDelegate *pl = new PlListViewItemDelegate();
setItemDelegate( pl ); 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