]> git.sesse.net Git - kdenlive/blobdiff - src/commands/changeeffectstatecommand.h
fix coverity 1134134 1134135 (div by 0)
[kdenlive] / src / commands / changeeffectstatecommand.h
index 563ef523dcbf6b7496bcfaddc0faa76e0c17432d..6dd60e2adc26b227c9f4def521ae0aa0beab3a7d 100644 (file)
 #define CHANGEEFFECTSTATECOMMAND_H
 
 #include <QUndoCommand>
-#include <KDebug>
 #include <gentime.h>
-#include <QDomElement>
 
 class CustomTrackView;
 
 class ChangeEffectStateCommand : public QUndoCommand
 {
 public:
-    ChangeEffectStateCommand(CustomTrackView *view, const int track, GenTime pos, QList <int> effectIndexes, bool disable, bool refreshEffectStack, bool doIt, QUndoCommand *parent = 0);
+    ChangeEffectStateCommand(CustomTrackView *view, const int track, const GenTime &pos, const QList <int>& effectIndexes, bool disable, bool refreshEffectStack, bool doIt, QUndoCommand *parent = 0);
 
-    virtual void undo();
-    virtual void redo();
+    void undo();
+    void redo();
 
 private:
     CustomTrackView *m_view;