summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/kernel/qboxlayout
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-06-12 11:17:14 +0200
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-06-27 19:46:04 +0000
commit75dfebae4a14ca37346e5867881f21d0f66f0fdb (patch)
treec60b7742b0fb12c75c8f343cf84e9da86786120d /tests/auto/widgets/kernel/qboxlayout
parent556cdac9ac35eebfb1eab60cac4830679e6fa10a (diff)
tst_gridlayout: Fix visible top level widget leaks.
Gather member variables testWidget, testLayout, w1..w3 and sp used in getItemPosition() and itemAtPosition() in Helper class ItemTestWidget. Remove member variables m_grid, m_toplevel and instantiate the top level widget on the stack in minMaxSize(). Remove empty slots and functions. Add a cleanup() test checking that no visible top levels are leaked with explanatory comment about data driven tests. Change-Id: Ia30120d78144dab3b7c73864c6fbcef606cb19d3 Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
Diffstat (limited to 'tests/auto/widgets/kernel/qboxlayout')
0 files changed, 0 insertions, 0 deletions