qt5base-lts/tests/auto/widgets/util
Marc Mutz ad1555be7f Plug remaining leaks in tests/auto/widgets/util
In tst_QCompleter, two completers were leaked because they
had no parent and setCompleter() calls don't reparent.

Fixed by giving them parents.

In tst_QUndo*, fix lots of leaked QActions by storing them
in a QScopedPointer. There were some half-hearted attempts
to clean them up with manual deletes, but I ported these to
scoped pointers, too, to make the code more robust in the
face of failures.

This fixes the remaining errors in GCC 6.1 Linux ASan runs of
tests/auto/widgets/util.

Change-Id: Icc5248cc9cf4514540915924df1c4d9e09c071fa
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2016-10-02 11:28:23 +00:00
..
qcompleter Plug remaining leaks in tests/auto/widgets/util 2016-10-02 11:28:23 +00:00
qscroller tests/auto/widgets: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 11:50:10 +00:00
qsystemtrayicon tests/auto/widgets: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 11:50:10 +00:00
qundogroup Plug remaining leaks in tests/auto/widgets/util 2016-10-02 11:28:23 +00:00
qundostack Plug remaining leaks in tests/auto/widgets/util 2016-10-02 11:28:23 +00:00
util.pro Remove Symbian specific code from qtbase. 2012-01-31 07:08:31 +01:00