]> git.sesse.net Git - kdenlive/blobdiff - src/resizeclipcommand.cpp
ImageFile is inconsistent with the rest of the UI - it should be spaced [PATCH by...
[kdenlive] / src / resizeclipcommand.cpp
index 721544dc5d6eb458dd60f87efd27bf7f9e74bfee..3f491c37e85e99ad2ce1c28c87e0f23ce975d967 100644 (file)
  *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA          *
  ***************************************************************************/
 
-#include <KLocale>
 
 #include "resizeclipcommand.h"
 #include "customtrackview.h"
 
-ResizeClipCommand::ResizeClipCommand(CustomTrackView *view, const ItemInfo start, const ItemInfo end, bool doIt)
-        : m_view(view), m_startPos(start), m_endPos(end), m_doIt(doIt) {
+#include <KLocale>
+
+ResizeClipCommand::ResizeClipCommand(CustomTrackView *view, const ItemInfo start, const ItemInfo end, bool doIt, QUndoCommand * parent) : QUndoCommand(parent), m_view(view), m_startPos(start), m_endPos(end), m_doIt(doIt) {
     setText(i18n("Resize clip"));
 }
 
-
 // virtual
 void ResizeClipCommand::undo() {
 // kDebug()<<"----  undoing action";
@@ -41,4 +40,3 @@ void ResizeClipCommand::redo() {
     m_doIt = true;
 }
 
-#include "resizeclipcommand.moc"