https://bugs.kde.org/show_bug.cgi?id=399359
Add a button to main menu and the context menu to clear all effects from an active clip.
https://bugs.kde.org/show_bug.cgi?id=399359
Add a button to main menu and the context menu to clear all effects from an active clip.
All effects can be cleared using Clip::deleteEffects().
https://cgit.kde.org/kdenlive.git/tree/src/timeline/clip.cpp?h=v18.08.1#n124
We add an action during initialization of the main window. A slot function calls the right method to clear effects. A Timeline can be returned with ProjectManager::currentTimeline(). With the timeline we can obtain the CustomTrackView using Timeline::projectView(). Use the CustomTrackView::getMainActiveClip() method to get our clip. Then clear the effects.