]> git.sesse.net Git - kdenlive/blobdiff - src/commands/resizeclipcommand.cpp
Integrate with the required MLT hooks for getting Movit to work.
[kdenlive] / src / commands / resizeclipcommand.cpp
index dba66a9469bc43aa58477174ea4b9c12499b92d7..408239804fc520e9446b4293b2f598d06a398c85 100644 (file)
 #include "resizeclipcommand.h"
 #include "customtrackview.h"
 
-#include <KLocale>
+#include <KLocalizedString>
 
-ResizeClipCommand::ResizeClipCommand(CustomTrackView *view, const ItemInfo start, const ItemInfo end, bool doIt, bool dontWorry, QUndoCommand * parent) :
-        QUndoCommand(parent),
-        m_view(view),
-        m_startPos(start),
-        m_endPos(end),
-        m_doIt(doIt),
-        m_dontWorry(dontWorry)
+ResizeClipCommand::ResizeClipCommand(CustomTrackView *view, const ItemInfo &start, const ItemInfo &end, bool doIt, bool dontWorry, QUndoCommand * parent) :
+    QUndoCommand(parent),
+    m_view(view),
+    m_startPos(start),
+    m_endPos(end),
+    m_doIt(doIt),
+    m_dontWorry(dontWorry)
 {
     setText(i18n("Resize clip"));
 }
@@ -43,7 +43,7 @@ void ResizeClipCommand::undo()
 void ResizeClipCommand::redo()
 {
     if (m_doIt) {
-       m_view->resizeClip(m_startPos, m_endPos, m_dontWorry);
+        m_view->resizeClip(m_startPos, m_endPos, m_dontWorry);
     }
     m_doIt = true;
 }