diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-06-11 12:18:13 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-06-27 19:48:04 +0000 |
commit | 0d5744d74085c04b63c8dd1ad5276de9cb32a8ed (patch) | |
tree | d62885aec55355a941c0b25f5f39339eda8163f2 /util | |
parent | e849e2c16297b3e50fa16c77235a1b3c75f84049 (diff) |
tst_formlayout: Fix top level widget leaks.
Instantiate widgets on stack and add cleanup function for the check.
Change all functions instantiating a QFormLayout without widget on
the stack to use a toplevel widget and pointer variables since
otherwise, the labels automatically created by a call like
QFormLayout::addRow("bla", widget) leak.
Change-Id: I72a7a9c3175b5793a9450c6fcb970012ccd2274b
Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions