https://bugs.kde.org/show_bug.cgi?id=456630

--- Comment #5 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit eb393b1381e526a5ee1e8092fecac98fa3e9eb45 by David Edmundson.
Committed on 13/07/2022 at 11:31.
Pushed by davidedmundson into branch 'master'.

Avoid tracking dangling KConfigDialogManager

A manager is created with a parent `new KConfigDialogManager(widget,
config);` this parent comes externally.

KCModules also explicitly deletes managers.

Typically it would have the same parent as the KCModule which is why it
hasn't been a big issue so far.

Having a parent whilst being explicitly managed is an anti-pattern, but
at a minimum we should clear up our list as we go so we don't risk a
double delete.

M  +6    -0    src/kcmodule.cpp

https://invent.kde.org/frameworks/kconfigwidgets/commit/eb393b1381e526a5ee1e8092fecac98fa3e9eb45

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to