X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fediteffectcommand.cpp;h=9bbebc748651bf0efb4652c8098db84ab33a8861;hb=8f59e06aedf509255edb93295514c40eab2adf18;hp=a6e76c14dcbdd1d6b81d508bcd1ac014e40a8d39;hpb=f50f57860f9858437eb97803d8d1c7b26680ed08;p=kdenlive diff --git a/src/editeffectcommand.cpp b/src/editeffectcommand.cpp index a6e76c14..9bbebc74 100644 --- a/src/editeffectcommand.cpp +++ b/src/editeffectcommand.cpp @@ -23,8 +23,8 @@ #include -EditEffectCommand::EditEffectCommand(CustomTrackView *view, const int track, GenTime pos, QDomElement oldeffect, QDomElement effect, int stackPos, bool doIt) : - QUndoCommand(), +EditEffectCommand::EditEffectCommand(CustomTrackView *view, const int track, GenTime pos, QDomElement oldeffect, QDomElement effect, int stackPos, bool doIt, QUndoCommand *parent) : + QUndoCommand(parent), m_view(view), m_track(track), m_oldeffect(oldeffect), @@ -59,13 +59,11 @@ bool EditEffectCommand::mergeWith(const QUndoCommand * other) // virtual void EditEffectCommand::undo() { - //kDebug() << "---- undoing action"; m_view->updateEffect(m_track, m_pos, m_oldeffect, m_stackPos, false); } // virtual void EditEffectCommand::redo() { - //kDebug() << "---- redoing action"; m_view->updateEffect(m_track, m_pos, m_effect, m_stackPos, m_doIt); m_doIt = false; }