X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Faddmarkercommand.h;h=c89d0c6748fac14a7d23b6f0dafe2e82f2b74131;hb=9478c9540beca9bbfb31ba803bfd2eb332121860;hp=0c839daa1941bcb7839e8728d7f9ac74b34c9c03;hpb=059a756716f3d4e91e07a006e4fc343899c310db;p=kdenlive diff --git a/src/addmarkercommand.h b/src/addmarkercommand.h index 0c839daa..c89d0c67 100644 --- a/src/addmarkercommand.h +++ b/src/addmarkercommand.h @@ -29,9 +29,10 @@ class CustomTrackView; -class AddMarkerCommand : public QUndoCommand { +class AddMarkerCommand : public QUndoCommand +{ public: - AddMarkerCommand(CustomTrackView *view, const QString &oldcomment, const QString &comment, const int id, const GenTime &pos, bool doIt); + AddMarkerCommand(CustomTrackView *view, const QString &oldcomment, const QString &comment, const QString &id, const GenTime &pos, QUndoCommand * parent = 0); virtual void undo(); virtual void redo(); @@ -39,9 +40,8 @@ private: CustomTrackView *m_view; QString m_oldcomment; QString m_comment; - int m_id; + QString m_id; GenTime m_pos; - bool m_doIt; }; #endif