[vlc-devel] commit: Qt: iconView: don't allow the items to be moved. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Mon Jan 25 15:49:35 CET 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jan 25 15:49:23 2010 +0100| [3a236ec557d5731481cf0ca6465c3bb95c2211d6] | committer: Jean-Baptiste Kempf 

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3a236ec557d5731481cf0ca6465c3bb95c2211d6
---

 modules/gui/qt4/components/playlist/icon_view.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/playlist/icon_view.cpp b/modules/gui/qt4/components/playlist/icon_view.cpp
index 95381c0..7236053 100644
--- a/modules/gui/qt4/components/playlist/icon_view.cpp
+++ b/modules/gui/qt4/components/playlist/icon_view.cpp
@@ -81,7 +81,7 @@ PlIconView::PlIconView( PLModel *model, QWidget *parent ) : QListView( parent )
 {
     setModel( model );
     setViewMode( QListView::IconMode );
-    setMovement( QListView::Snap );
+    setMovement( QListView::Static );
 
     PlListViewItemDelegate *pl = new PlListViewItemDelegate();
     setItemDelegate( pl );




More information about the vlc-devel mailing list