]> git.sesse.net Git - kdenlive/blobdiff - src/commands/changespeedcommand.cpp
fix coverity 1134134 1134135 (div by 0)
[kdenlive] / src / commands / changespeedcommand.cpp
index d671a874b037b1fc56d87f7e0619088a40b04f33..7ada3e066da1ad83f1fccfdc5cda6295016786bf 100644 (file)
  ***************************************************************************/
 
 
-#include "commands/changespeedcommand.h"
+#include "changespeedcommand.h"
 #include "customtrackview.h"
 
-#include <KLocale>
+#include <KLocalizedString>
 
-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),