]> git.sesse.net Git - kdenlive/blobdiff - src/commands/editguidecommand.cpp
Add explicit keyword, const'ref, minor optimization
[kdenlive] / src / commands / editguidecommand.cpp
index 30398da8e7c32fa7d5a83dcee6798963c4c02243..7e12a7b38a448b470b228ea5b47b02f3996c30cd 100644 (file)
@@ -21,7 +21,7 @@
 
 #include <KLocale>
 
-EditGuideCommand::EditGuideCommand(CustomTrackView *view, const GenTime oldPos, const QString &oldcomment, const GenTime pos, const QString &comment, bool doIt, QUndoCommand * parent) :
+EditGuideCommand::EditGuideCommand(CustomTrackView *view, const GenTime &oldPos, const QString &oldcomment, const GenTime &pos, const QString &comment, bool doIt, QUndoCommand * parent) :
         QUndoCommand(parent),
         m_view(view),
         m_oldcomment(oldcomment),