[mythtv-commits] [MythTV/mythtv] de6485: Replace the Q_ENUMS macro with the Q_ENUM macro.

linuxdude42 noreply at github.com
Fri Sep 6 22:07:07 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: de64859ddd1799d3c82cef94c845965465963cea
      https://github.com/MythTV/mythtv/commit/de64859ddd1799d3c82cef94c845965465963cea
  Author: David Hampton <mythtv at love2code.net>
  Date:   2019-09-06 (Fri, 06 Sep 2019)

  Changed paths:
    M mythtv/libs/libmythservicecontracts/enums/recStatus.h

  Log Message:
  -----------
  Replace the Q_ENUMS macro with the Q_ENUM macro.

The former was deprecated in the release of Qt 5.5.


  Commit: a287f95152a61c39ae38db2e688d7ce3dd1232a5
      https://github.com/MythTV/mythtv/commit/a287f95152a61c39ae38db2e688d7ce3dd1232a5
  Author: David Hampton <mythtv at love2code.net>
  Date:   2019-09-06 (Fri, 06 Sep 2019)

  Changed paths:
    M mythtv/libs/libmythbase/mythmiscutil.cpp
    M mythtv/libs/libmythtv/subtitlescreen.cpp
    M mythtv/libs/libmythui/mythuiguidegrid.cpp

  Log Message:
  -----------
  Trivial changes to replace several obsoleted functions.

Looking at the Qt sources, the old version of each of these functions
directly calls the new version of the function.

  QColor::dark -> QColor::darker
    - new function added in Qt4.3

  QFileInfo::readLink -> QFileInfo::symLinkTarget
    - new function added in Qt4.2

  QFontMetrics::width -> QFontMetrics::horizontalAdvance
    - new function added in Qt5.11


  Commit: 474a107cfb6982a2f544722fa1855c148bef58c7
      https://github.com/MythTV/mythtv/commit/474a107cfb6982a2f544722fa1855c148bef58c7
  Author: David Hampton <mythtv at love2code.net>
  Date:   2019-09-06 (Fri, 06 Sep 2019)

  Changed paths:
    M mythtv/libs/libmythtv/mpeg/tspacket.h

  Log Message:
  -----------
  Quiet several array bounds warning messages.

These are valid accesses, but since the array was defined with size 4
instead of size 0 (a variable length array) the compiler throws
warning messages.  Interestingly I only see these on Arch (gcc 9.1.0)
and not on Fedora 30 (gcc 9.1.1).


  Commit: dc87fada554f8b200bf8b67ce51174936b429a04
      https://github.com/MythTV/mythtv/commit/dc87fada554f8b200bf8b67ce51174936b429a04
  Author: David Hampton <mythtv at love2code.net>
  Date:   2019-09-06 (Fri, 06 Sep 2019)

  Changed paths:
    M mythtv/bindings/php/MythBackend.php

  Log Message:
  -----------
  Fix php7.2 count warnings in MythBackend bindings.

The mythweb portion of this bug was fixed in a separate commit.

Adapted from a fix by daraden.

Fixes #13406.


Compare: https://github.com/MythTV/mythtv/compare/2dcfeb4952ef...dc87fada554f


More information about the mythtv-commits mailing list