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

--- Comment #3 from Oliver Kellogg <okell...@users.sourceforge.net> ---
Git commit bae76adb1a9be5c9535fdc4e7e5b10b7b8558566 by Oliver Kellogg.
Committed on 04/12/2022 at 16:15.
Pushed by okellogg into branch 'master'.

(In reply to Robert Hairgrove from comment #2)
> Wouldn't it be better to create UMLApp as a local variable, i.e.
> on the stack, in the main() function?

To be investigated separately.

> Also, it seems that there is this at line 173:
>     QPointer<UMLApp> uml;
>
> Doesn't this handle deletion of 'uml' automatically?

Absolutely right, my oversight. Thanks.

umbrello/main.cpp
- In main program remove the line `delete uml`.

M  +0    -1    umbrello/main.cpp

https://invent.kde.org/sdk/umbrello/commit/bae76adb1a9be5c9535fdc4e7e5b10b7b8558566

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

Reply via email to