[mythtv-commits] mythtv/master commit: 043a68d18 by Gavin Hurlbut (Beirdo)

MythTV noreply at mythtv.org
Fri Jul 15 06:56:23 UTC 2011


      Author:  Gavin Hurlbut <ghurlbut at mythtv.org>
 Change Date:  2011-07-14T23:54:16-07:00
   Push Date:  2011/07/14 23:56:17 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  043a68d1813ba1e1cd97bc9979806a260b07aa5c
   Changeset:  https://github.com/MythTV/mythtv/commit/043a68d18

Log:

Convert MythHostAddressAny() to return QHostAddress

As everywhere it is used, we immediately convert it to QHostAddress, it only
makes sense to make the method return it already converted.  Also, using the
SpecialAddress case in the initialization of the value makes it more Qt-ish.

Changing this required adding QT = network into .pro files for mythjobqueue
and mytharchivehelper so it could find the QHostAddress include under
qt4/QtNetwork.

Modified:

   mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.pro
   mythtv/libs/libmythbase/mythcorecontext.cpp
   mythtv/libs/libmythbase/mythcorecontext.h
   mythtv/libs/libmythprotoserver/mythsocketmanager.cpp
   mythtv/libs/libmythui/mythudplistener.cpp
   mythtv/programs/mythbackend/mainserver.cpp
   mythtv/programs/mythbackend/mediaserver.cpp
   mythtv/programs/mythfrontend/main.cpp
   mythtv/programs/mythfrontend/mediarenderer.cpp
   mythtv/programs/mythjobqueue/mythjobqueue.pro
   mythtv/programs/mythlcdserver/lcdserver.cpp



More information about the mythtv-commits mailing list