]> git.sesse.net Git - kdenlive/blobdiff - src/effectstack/effectstackview2.h
Fix resetting track effects.
[kdenlive] / src / effectstack / effectstackview2.h
index 1166fa8d48769d46aac770d78954ca98584c7954..1db988249be19dc3b7a65de76bcafdd59064ebfe 100644 (file)
@@ -108,6 +108,9 @@ private:
     
     /** @brief The current number of groups. */
     int m_groupIndex;
+    
+    /** @brief The current effect may require an on monitor scene. */
+    bool m_monitorSceneWanted;
 
     /** @brief Sets the list of effects according to the clip's effect list. */
     void setupListView();
@@ -119,8 +122,6 @@ private:
     void connectEffect(CollapsibleEffect *currentEffect);
     /** @brief Connect a group to its signals. */
     void connectGroup(CollapsibleGroup *group);
-    /** @brief Returns the currentl active effect. */
-    CollapsibleEffect *currentEffect() const;
 
 public slots:
     /** @brief Sets the clip whose effect list should be managed.
@@ -161,7 +162,7 @@ private slots:
     void slotRenderPos(int pos);
 
     /** @brief Called whenever an effect is enabled / disabled by user. */
-    void slotUpdateEffectState(bool disable, int index, bool updateMainStatus);
+    void slotUpdateEffectState(bool disable, int index, bool needsMonitorEffectScene);
 
     void slotSetCurrentEffect(int ix);
     
@@ -211,7 +212,7 @@ signals:
         all effects for this clip in the playlist */
     void refreshEffectStack(ClipItem *);
     /** Enable or disable an effect */
-    void changeEffectState(ClipItem*, int, int, bool);
+    void changeEffectState(ClipItem*, int, QList <int>, bool);
     /** An effect in stack was moved */
     void changeEffectPosition(ClipItem*, int, QList <int>, int);
     /** an effect was saved, reload list */