Commit 98f57121 authored by Ludovic Fauvet's avatar Ludovic Fauvet

Remove duplicate debug message

parent 32ef2eec
......@@ -270,7 +270,6 @@ void MainWorkflow::moveClip( const QUuid& clipUuid, unsigned int oldTr
computeLength();
if ( undoRedoCommand == true )
{
qDebug() << "Emitted Clip moved: to track" << newTrack << "at pos" << startingFrame;
emit clipMoved( clipUuid, newTrack, startingFrame );
}
}
......
......@@ -70,8 +70,6 @@ namespace Commands
m_workflow( workflow ), m_uuid( uuid ), m_oldTrack( oldTrack ), m_newTrack( newTrack ), m_pos( newPos )
{
setText( "Moving clip" );
m_oldPos = m_workflow->getClipPosition( uuid, oldTrack );
qDebug() << "Old pos == " << m_oldPos;
m_undoRedoAction = false;
}
virtual void redo()
......
......@@ -199,8 +199,6 @@ void TracksView::moveMediaItem( AbstractGraphicsMediaItem* item, int track, int
else if ( track > m_numVideoTrack - 1)
track = m_numVideoTrack - 1;
//qDebug() << ">>>>>> Move track number" << track;
QPointF oldPos = item->pos();
QGraphicsItem* oldParent = item->parentItem();
// Check for vertical collisions
......@@ -404,7 +402,6 @@ void TracksView::mouseReleaseEvent( QMouseEvent* event )
updateDuration();
if ( m_layout->itemAt( 0 )->graphicsItem()->childItems().count() > 0 )
addVideoTrack();
qDebug() << "Trigerring move command. track" << movieItem->oldTrackNumber << "->" << movieItem->trackNumber();
Commands::trigger( new Commands::MainWorkflow::MoveClip( m_mainWorkflow, movieItem->clip()->getUuid(),
movieItem->oldTrackNumber, movieItem->trackNumber(),
(qint64)movieItem->pos().x() ) );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment