[vlmc-devel] commit: EffectList: Removing multiple selection. ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Tue Aug 31 00:12:16 CEST 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Mon Aug 30 23:09:16 2010 +0200| [136cf96cefd0a532f0a2430a5c1e7e4c783b2790] | committer: Hugo Beauzée-Luyssen 

EffectList: Removing multiple selection.

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=136cf96cefd0a532f0a2430a5c1e7e4c783b2790
---

 src/Gui/effectsengine/EffectsListView.cpp |    2 --
 src/Gui/effectsengine/ui/EffectsList.ui   |   12 +++++-------
 2 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/src/Gui/effectsengine/EffectsListView.cpp b/src/Gui/effectsengine/EffectsListView.cpp
index 1b04862..1b3ec51 100644
--- a/src/Gui/effectsengine/EffectsListView.cpp
+++ b/src/Gui/effectsengine/EffectsListView.cpp
@@ -17,8 +17,6 @@ EffectsListView::EffectsListView(QWidget *parent) :
              SLOT( effectAdded(Effect*, const QString&, Effect::Type) ) );
     setModel( m_model );
     setEditTriggers( QListView::NoEditTriggers );
-    setDragEnabled( true );
-    setSelectionMode( QAbstractItemView::MultiSelection );
 }
 
 void
diff --git a/src/Gui/effectsengine/ui/EffectsList.ui b/src/Gui/effectsengine/ui/EffectsList.ui
index 84db7d7..dfd58b6 100644
--- a/src/Gui/effectsengine/ui/EffectsList.ui
+++ b/src/Gui/effectsengine/ui/EffectsList.ui
@@ -26,15 +26,9 @@
       <layout class="QHBoxLayout" name="horizontalLayout_2">
        <item>
         <widget class="EffectsListView" name="filterList">
-         <property name="editTriggers">
-          <set>QAbstractItemView::NoEditTriggers</set>
-         </property>
          <property name="dragEnabled">
           <bool>true</bool>
          </property>
-         <property name="dragDropMode">
-          <enum>QAbstractItemView::DragOnly</enum>
-         </property>
         </widget>
        </item>
       </layout>
@@ -45,7 +39,11 @@
       </attribute>
       <layout class="QHBoxLayout" name="horizontalLayout_3">
        <item>
-        <widget class="EffectsListView" name="effectsList"/>
+        <widget class="EffectsListView" name="effectsList">
+         <property name="dragEnabled">
+          <bool>true</bool>
+         </property>
+        </widget>
        </item>
       </layout>
      </widget>



More information about the Vlmc-devel mailing list