]> git.sesse.net Git - kdenlive/blobdiff - src/resizeclipcommand.cpp
Reindent the codebase using 'linux' bracket placement.
[kdenlive] / src / resizeclipcommand.cpp
index f76c7687069d1de9f8973c63aa94fff6449c19dd..db5037b40370a5645db4b560f46fe5bdc541ea66 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, QUndoCommand * parent) : QUndoCommand(parent), 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() {
+void ResizeClipCommand::undo()
+{
 // kDebug()<<"----  undoing action";
     m_doIt = true;
     if (m_doIt) m_view->resizeClip(m_endPos, m_startPos);
 }
 // virtual
-void ResizeClipCommand::redo() {
+void ResizeClipCommand::redo()
+{
     kDebug() << "----  redoing action";
     if (m_doIt) m_view->resizeClip(m_startPos, m_endPos);
     m_doIt = true;