X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcommands%2Feditclipcommand.cpp;h=96c35b9ae704f83901370e7c80d86861fc69ec5b;hb=c3302003093710ee247ad84c0fe2ef3c579d417f;hp=d65acfc509794290fdf2e8d860887cae2c5e1d40;hpb=bae96d4b906092465a7624195a55b6527529cd7c;p=kdenlive diff --git a/src/commands/editclipcommand.cpp b/src/commands/editclipcommand.cpp index d65acfc5..96c35b9a 100644 --- a/src/commands/editclipcommand.cpp +++ b/src/commands/editclipcommand.cpp @@ -21,8 +21,9 @@ #include "projectlist.h" #include +#include -EditClipCommand::EditClipCommand(ProjectList *list, const QString &id, QMap oldparams, QMap newparams, bool doIt, QUndoCommand * parent) : +EditClipCommand::EditClipCommand(ProjectList *list, const QString &id, const QMap &oldparams, const QMap &newparams, bool doIt, QUndoCommand * parent) : QUndoCommand(parent), m_list(list), m_oldparams(oldparams), @@ -44,7 +45,8 @@ void EditClipCommand::undo() void EditClipCommand::redo() { kDebug() << "---- redoing action"; - if (m_doIt) m_list->slotUpdateClipProperties(m_id, m_newparams); + if (m_doIt) + m_list->slotUpdateClipProperties(m_id, m_newparams); m_doIt = true; }