Commit f70851de authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

GraphicsEffectItem: Triggering the "Move" command

parent 973d894e
......@@ -22,9 +22,11 @@
#include "GraphicsEffectItem.h"
#include "Commands.h"
#include "EffectHelper.h"
#include "Timeline.h"
#include "TracksView.h"
#include "TrackWorkflow.h"
#include <QPainter>
......@@ -211,7 +213,10 @@ void
GraphicsEffectItem::triggerMove( TrackWorkflow *oldTrack, TrackWorkflow *newTrack,
Workflow::Helper *helper, qint64 pos )
{
//FIXME
EffectHelper *eh = qobject_cast<EffectHelper*>( helper );
if ( eh == NULL )
return ;
Commands::trigger( new Commands::Effect::Move( eh, oldTrack, newTrack, pos ) );
}
void
......
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