Verified Commit 9b374595 authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

wallpaperinterface: Don't double delete action

`removeAction` already deletes the action, it makes no sense to delete
the action again and will crash plasmashell.

CCBUG: 446195
parent 311da604
Pipeline #105248 passed with stage
in 2 minutes and 39 seconds
......@@ -229,7 +229,6 @@ void WallpaperInterface::removeAction(const QString &name)
if (action) {
m_actions->removeAction(action);
delete action;
}
setProperty("contextualActions", QVariant::fromValue(contextualActions()));
}
......
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