[mythtv-commits] Ticket #13069: Fix QObject related compile warnings in trunk

MythTV noreply at mythtv.org
Sun Nov 12 21:00:09 UTC 2017


#13069: Fix QObject related compile warnings in trunk
--------------------------------------+-----------------------------
 Reporter:  David Hampton <mythtv@…>  |          Owner:  dhampton
     Type:  Developer Task            |         Status:  closed
 Priority:  minor                     |      Milestone:  29.0
Component:  MythTV - General          |        Version:  Master Head
 Severity:  medium                    |     Resolution:  Fixed
 Keywords:                            |  Ticket locked:  0
--------------------------------------+-----------------------------
Changes (by dhampton):

 * status:  accepted => closed
 * resolution:   => Fixed


Comment:

 Fixed by commit b3938fab.

 Last set of commits for cleaning up QObject related warnings from -Wextra.

     1) Cleanup QObject related warnings for RecStatus.  This class is
        based on QObject, so only a pointer to it can be registered with
        the Qt MetaType system, not the object itself.  Also remove the
        copy constructor.

     2) Cleanup QObject related warnings for all the data/service contract
        objects.  These are all also based on QObjects, so only a pointers
        to them can be registered with the Qt MetaType system, not the
        objects themselves.  Also cleanup unnecessary registration code.

     3) Start on a test framework for the data contracts.  This needs to be
        extended to support all the contracts.

     Fixes #13069.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13069#comment:6>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list