Commit b52010e8 authored by luyikei's avatar luyikei

EffectsListView: Rename effect_name to effect_id

parent 24aac434
......@@ -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();
......
......@@ -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" ) );
}
}
......
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