[mythtv-commits] [MythTV/mythtv] 957d1d: IPTVTuningData: fix a broken cast to QApplication

Paul Harrison noreply at github.com
Thu Apr 23 15:14:12 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 957d1db02cb883c16ca1a409320fd770093c1039
      https://github.com/MythTV/mythtv/commit/957d1db02cb883c16ca1a409320fd770093c1039
  Author: Paul Harrison <paul at mythqml.net>
  Date:   2020-04-23 (Thu, 23 Apr 2020)

  Changed paths:
    M mythtv/libs/libmythtv/iptvtuningdata.h

  Log Message:
  -----------
  IPTVTuningData: fix a broken cast to QApplication

Casting to a QApplication fails when run from mythackend since it
only creates a QCoreAppliction when started.

In this case we don't care if the instance returned is a QApplication
we only care if we dont have a QCoreApplication which is only the case
when this class is used by the unit tests.




More information about the mythtv-commits mailing list