X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcommands%2Faddtrackcommand.cpp;h=135139f5ea463cfdaac44d89d3df087c0a78dafb;hb=f4699aef75ea62acb69ad499317493facdef04df;hp=fa8b5692ea5f44f2a9cf2e298c2622374ecba366;hpb=55b10ef4f3093b158c0dc910ac974e2bdf9ce00d;p=kdenlive diff --git a/src/commands/addtrackcommand.cpp b/src/commands/addtrackcommand.cpp index fa8b5692..135139f5 100644 --- a/src/commands/addtrackcommand.cpp +++ b/src/commands/addtrackcommand.cpp @@ -23,7 +23,7 @@ #include -AddTrackCommand::AddTrackCommand(CustomTrackView *view, int ix, TrackInfo info, bool addTrack, QUndoCommand * parent) : +AddTrackCommand::AddTrackCommand(CustomTrackView *view, int ix, const TrackInfo &info, bool addTrack, QUndoCommand * parent) : QUndoCommand(parent), m_view(view), m_ix(ix),