]> git.sesse.net Git - kdenlive/blobdiff - src/addmarkercommand.h
Fix audio mixing corrupted when last audio track is muted:
[kdenlive] / src / addmarkercommand.h
index cc16bf61e1a1f26cc41528f1a8c28a808a4a1685..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, QUndoCommand * parent = 0);
+    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