[vlmc-devel] EffectsListView: Rename effect_name to effect_id
Yikai Lu
git at videolan.org
Mon Aug 7 19:18:34 CEST 2017
vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Tue Aug 8 01:28:01 2017 +0900| [b52010e87b584d65a4a75e22b1b48c89504453af] | committer: Yikai Lu
EffectsListView: Rename effect_name to effect_id
> https://code.videolan.org/videolan/vlmc/commit/b52010e87b584d65a4a75e22b1b48c89504453af
---
src/Gui/effectsengine/EffectsListView.cpp | 2 +-
src/Gui/timeline/Clip.qml | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/Gui/effectsengine/EffectsListView.cpp b/src/Gui/effectsengine/EffectsListView.cpp
index b131b5a6..17d5f617 100644
--- a/src/Gui/effectsengine/EffectsListView.cpp
+++ b/src/Gui/effectsengine/EffectsListView.cpp
@@ -79,7 +79,7 @@ EffectsListView::startDrag( const QString& effectId )
QDrag* drag = new QDrag( this );
QMimeData* mimeData = new QMimeData;
- mimeData->setData( QStringLiteral( "vlmc/effect_name" ), effectId.toUtf8() );
+ mimeData->setData( QStringLiteral( "vlmc/effect_id" ), effectId.toUtf8() );
drag->setMimeData( mimeData );
drag->exec();
diff --git a/src/Gui/timeline/Clip.qml b/src/Gui/timeline/Clip.qml
index 33e5497e..3ab9da69 100644
--- a/src/Gui/timeline/Clip.qml
+++ b/src/Gui/timeline/Clip.qml
@@ -385,10 +385,10 @@ Rectangle {
DropArea {
id: effectDropArea
anchors.fill: parent
- keys: ["vlmc/effect_name"]
+ keys: ["vlmc/effect_id"]
onDropped: {
- workflow.addEffect( uuid, drop.getDataAsString( "vlmc/effect_name" ) );
+ workflow.addEffect( uuid, drop.getDataAsString( "vlmc/effect_id" ) );
}
}
More information about the Vlmc-devel
mailing list