[mythtv-commits] mythtv commit: r25741 by markk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Aug 18 15:20:23 UTC 2010

      Author: markk
        Date: 2010-08-18 15:20:23 +0000 (Wed, 18 Aug 2010)
New Revision: 25741
   Changeset: http://svn.mythtv.org/trac/changeset/25741




Don't use the deleteLater method in MythUIType.

The current libmythui usage model suggests this is unnecessay but it is
causing problems in the OSD. MythImages are allocated via the painter
classes but owned by their parent MythUIImage objects. When the painter
is deleted immediately and the MythUIImage is not deleted until the
event loop has finished, the painter pointer held by MythImage is no
longer valid.

This is the simplest and most obvious solution but if there are
unforeseen consequences, there is a less elegant solution.

Closes #8586. Refs r25740

More information about the mythtv-commits mailing list