aboutsummaryrefslogtreecommitdiffstats
path: root/examples/installer_test
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2024-03-26 11:36:27 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2024-04-12 14:08:03 +0200
commit7c3beafa968280a66a7c554d9e979e17e903cb37 (patch)
tree7595d12a9b54e5fac60a54faad43debfea006318 /examples/installer_test
parent152ec44d1c0ac3da91bc6018f8c039e599f60df3 (diff)
Release dialogs when using QDialog.exec()HEADdev
In the typical pattern ported from C++ dialog = QDialog(mainWin) dialog.exec() one would expected the dialog to be deleted. However, due to the constructor heuristics creating a parent-child relationship, the dialog leaks. Add a modification to remove the relationship in case exec() is called. Change-Id: Ibc6f8c150cbd80a4085af4a5b713ee7c2c62abf3 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'examples/installer_test')
0 files changed, 0 insertions, 0 deletions