MCPcopy Create free account
hub / github.com/KDE/kdenlive / removeEffect

Method removeEffect

src/effects/effectstack/model/effectstackmodel.cpp:192–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192void EffectStackModel::removeEffect(const std::shared_ptr<EffectItemModel> &effect)
193{
194 Fun undo = []() { return true; };
195 Fun redo = []() { return true; };
196 QString effectName;
197 removeEffectWithUndo(effect, effectName, undo, redo);
198 PUSH_UNDO(undo, redo, i18n("Delete effect %1", effectName));
199}
200
201void EffectStackModel::removeEffectWithUndo(const QString &assetId, QString &effectName, int assetRow, Fun &undo, Fun &redo)
202{

Callers 2

slotDeleteEffectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected