Skip to content

Properly Cleanup ToolBarLayout when Actions get deleted

Arjen Hiemstra requested to merge work/ahiemstra/toolbaraction_delete into master

Some actions can get deleted without the list of actions being updated. This causes crashes when incubators are done and actions get accessed.

This MR makes sure to clean up after these actions, ensuring we remove delegates and cleanup incubators.

Fixes bug https://bugs.kde.org/show_bug.cgi?id=425670

Edited by Arjen Hiemstra

Merge request reports