mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
kwin: fix crash on effect unloading
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
3c5a34aa19
commit
03427dd0be
1 changed files with 1 additions and 1 deletions
|
@ -1452,7 +1452,7 @@ void EffectsHandlerImpl::unloadEffect(const QString& name)
|
|||
removeSupportProperty(property, it.value().second);
|
||||
}
|
||||
delete it.value().second;
|
||||
effect_order.erase(it);
|
||||
effect_order.remove(it.key());
|
||||
effectsChanged();
|
||||
if (effect_libraries.contains(name)) {
|
||||
effect_libraries[ name ]->unload();
|
||||
|
|
Loading…
Add table
Reference in a new issue