]> git.sesse.net Git - kdenlive/blobdiff - src/addmarkercommand.h
cppcheck fixes, patch by Mikko Rapeli [9/27]
[kdenlive] / src / addmarkercommand.h
index 0c839daa1941bcb7839e8728d7f9ac74b34c9c03..c89d0c6748fac14a7d23b6f0dafe2e82f2b74131 100644 (file)
 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