[mythtv-commits] mythtv/master commit: 281ffc899 by Michael T. Dean (sphery)

MythTV noreply at mythtv.org
Tue Mar 8 22:59:31 UTC 2011


      Author:  Michael T. Dean <mdean at mythtv.org>
 Change Date:  2011-03-08T14:58:31-08:00
   Push Date:  2011/03/08 14:59:27 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  281ffc89933ba4f0054041c1d7df6ee906ad7005
   Changeset:  https://github.com/MythTV/mythtv/commit/281ffc899

Log:

Use QCoreApplication's applicationName property.

Store application names using QCoreApplication's applicationName
property.  This removes MythCoreContext::GetAppName() and ::SetAppName()
and changes code to use names defined in mythcorecontext.h, rather than
argv[0], for the application name (so that future code that keys off
application name will work properly, even if distros change binary
names, for example, to mythfrontend.real).

This includes another binary version change, so another plugin recompile
is required.

Modified:

   mythtv/libs/libmythbase/mythcorecontext.cpp
   mythtv/libs/libmythbase/mythcorecontext.h
   mythtv/libs/libmythbase/mythdownloadmanager.cpp
   mythtv/libs/libmythbase/mythversion.h
   mythtv/programs/mythavtest/main.cpp
   mythtv/programs/mythbackend/main.cpp
   mythtv/programs/mythcommflag/main.cpp
   mythtv/programs/mythfilldatabase/main.cpp
   mythtv/programs/mythfrontend/main.cpp
   mythtv/programs/mythjobqueue/main.cpp
   mythtv/programs/mythlcdserver/main.cpp
   mythtv/programs/mythmessage/main.cpp
   mythtv/programs/mythpreviewgen/main.cpp
   mythtv/programs/mythshutdown/main.cpp
   mythtv/programs/mythtranscode/main.cpp
   mythtv/programs/mythtv-setup/main.cpp
   mythtv/programs/mythwelcome/main.cpp



More information about the mythtv-commits mailing list