]> git.sesse.net Git - kdenlive/blobdiff - src/commands/changespeedcommand.cpp
Add explicit keyword, const'ref, minor optimization
[kdenlive] / src / commands / changespeedcommand.cpp
index f775c6813c24e0afdd9f211ec319fae0c77c7571..67399a91e21920aafdd066f4caca69f5453e7e95 100644 (file)
@@ -23,7 +23,7 @@
 
 #include <KLocale>
 
-ChangeSpeedCommand::ChangeSpeedCommand(CustomTrackView *view, ItemInfo info, ItemInfo speedIndependantInfo, double old_speed, double new_speed, int old_strobe, int new_strobe, const QString &clipId, QUndoCommand * parent) :
+ChangeSpeedCommand::ChangeSpeedCommand(CustomTrackView *view, const ItemInfo &info, const ItemInfo &speedIndependantInfo, double old_speed, double new_speed, int old_strobe, int new_strobe, const QString &clipId, QUndoCommand * parent) :
         QUndoCommand(parent),
         m_view(view),
         m_clipInfo(info),