Apply suggested solution to fix bug 362895
Review Request #127987 - Created May 21, 2016 and submitted
The code compiles without error with just this alteration.
looks good. Please commit to branch Applications/16.04 with the following commit message:
Fix 'Crash on clicking item in ER diagram'.
The crash has been fixed by making sure that UMLWidgetList do not hold any dangled ponter.
FIXED-IN:2.19.2 (KDE Applications 16.04.2)