X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Faddmarkercommand.cpp;h=ed1c2a1ca6a5b52bfcf1b787b0d0a68ae3dcbe5d;hb=cd85961a9520f2f3c909e889dacd8de539468b89;hp=5dc764f6f671f420d0656f4473ec469614fdbf84;hpb=a04d51e10a7b1fcfde9407fbab1feb1be6b568e7;p=kdenlive diff --git a/src/addmarkercommand.cpp b/src/addmarkercommand.cpp index 5dc764f6..ed1c2a1c 100644 --- a/src/addmarkercommand.cpp +++ b/src/addmarkercommand.cpp @@ -14,12 +14,14 @@ * (at your option) any later version. * * * ***************************************************************************/ -#include + #include "addmarkercommand.h" #include "customtrackview.h" -AddMarkerCommand::AddMarkerCommand(CustomTrackView *view, const QString &oldcomment, const QString &comment, const int id, const GenTime &pos, bool doIt, QUndoCommand * parent) : QUndoCommand(parent), m_view(view), m_oldcomment(oldcomment), m_comment(comment), m_id(id), m_pos(pos), m_doIt(doIt) { +#include + +AddMarkerCommand::AddMarkerCommand(CustomTrackView *view, const QString &oldcomment, const QString &comment, const QString &id, const GenTime &pos, bool doIt, QUndoCommand * parent) : QUndoCommand(parent), m_view(view), m_oldcomment(oldcomment), m_comment(comment), m_id(id), m_pos(pos), m_doIt(doIt) { if (m_comment.isEmpty()) setText(i18n("Delete marker")); else if (m_oldcomment.isEmpty()) setText(i18n("Add marker")); else setText(i18n("Edit marker")); @@ -38,4 +40,3 @@ void AddMarkerCommand::redo() { m_doIt = true; } -#include "addmarkercommand.moc"