[vlmc-devel] [PATCH 3/8] Timeline: Set formats for ClipHelper
Yikai Lu
luyikei.qmltu at gmail.com
Tue May 3 07:24:42 CEST 2016
---
src/Gui/timeline/TracksView.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/Gui/timeline/TracksView.cpp b/src/Gui/timeline/TracksView.cpp
index 04b93da..39d69b2 100644
--- a/src/Gui/timeline/TracksView.cpp
+++ b/src/Gui/timeline/TracksView.cpp
@@ -811,6 +811,7 @@ TracksView::dropEvent( QDropEvent *event )
event->acceptProposedAction();
m_dragAudioItem->m_oldTrack = m_dragAudioItem->track()->trackWorkflow();
+ m_dragAudioItem->clipHelper()->setFormats( ClipHelper::Audio );
Commands::trigger( new Commands::Clip::Add( m_dragAudioItem->clipHelper(),
m_dragAudioItem->track()->trackWorkflow(),
@@ -828,6 +829,7 @@ TracksView::dropEvent( QDropEvent *event )
event->acceptProposedAction();
m_dragVideoItem->m_oldTrack = m_dragVideoItem->track()->trackWorkflow();
+ m_dragVideoItem->clipHelper()->setFormats( ClipHelper::Video );
Commands::trigger( new Commands::Clip::Add( m_dragVideoItem->clipHelper(),
m_dragVideoItem->track()->trackWorkflow(),
--
1.9.1
More information about the Vlmc-devel
mailing list