Closed tobiolo closed 5 months ago
very nice! was this a memory leak before? I don't see them being deleted in the old code..
very nice! was this a memory leak before? I don't see them being deleted in the old code..
No, at least not detected with Address Sanitizer during runtime. But as it is possible for modal dialogs to create it on the stack, I would rather prefer it anyway.
This code is cleaner.
In addition add also some border around the elements. This looks nicer especially on the border of the dialog.