]> git.sesse.net Git - kdenlive/blobdiff - src/editguidecommand.cpp
Show clip thumbnail in captured files dialog
[kdenlive] / src / editguidecommand.cpp
index 844b860cabfce74df751b59d4b0c0b4438a5cf1b..10b2b78e02396bec70af86f3bd84d28461589294 100644 (file)
@@ -19,7 +19,7 @@
 #include "editguidecommand.h"
 #include "customtrackview.h"
 
-EditGuideCommand::EditGuideCommand(CustomTrackView *view, const GenTime oldPos, const QString &oldcomment, const GenTime pos, const QString &comment, bool doIt) : m_view(view), m_oldPos(oldPos), m_oldcomment(oldcomment), m_pos(pos), m_comment(comment), m_doIt(doIt) {
+EditGuideCommand::EditGuideCommand(CustomTrackView *view, const GenTime oldPos, const QString &oldcomment, const GenTime pos, const QString &comment, bool doIt, QUndoCommand * parent) : QUndoCommand(parent), m_view(view), m_oldPos(oldPos), m_oldcomment(oldcomment), m_pos(pos), m_comment(comment), m_doIt(doIt) {
     if (m_oldcomment.isEmpty()) setText(i18n("Add guide"));
     else if (m_oldPos == m_pos) setText(i18n("Edit guide"));
     else if (m_pos <= GenTime()) setText(i18n("Delete guide"));