]> git.sesse.net Git - kdenlive/blobdiff - src/editeffectcommand.h
Fix a couple of compile warnings because of unused and uninitialized variables.
[kdenlive] / src / editeffectcommand.h
index c06fe93143b1b0a051dacd0caaf39bff9cdb4df5..c793fd4f842ac3962644dd5d8ec9b3fb7381b7f1 100644 (file)
 
 class CustomTrackView;
 
-class EditEffectCommand : public QUndoCommand {
+class EditEffectCommand : public QUndoCommand
+{
 public:
-    EditEffectCommand(CustomTrackView *view, const int track, GenTime pos, QDomElement oldeffect, QDomElement effect, bool doIt);
+    EditEffectCommand(CustomTrackView *view, const int track, GenTime pos, QDomElement oldeffect, QDomElement effect, int stackPos, bool doIt, QUndoCommand *parent = 0);
 
     virtual int id() const;
     virtual bool mergeWith(const QUndoCommand * command);
@@ -40,9 +41,10 @@ public:
 private:
     CustomTrackView *m_view;
     const int m_track;
-    QDomElement m_effect;
     QDomElement m_oldeffect;
+    QDomElement m_effect;
     const GenTime m_pos;
+    int m_stackPos;
     bool m_doIt;
 };