[mythtv-commits] [MythTV/mythtv] 62297d: Replace "str.length()==0" with "str.isEmpty()".

David Hampton noreply at github.com
Fri Jun 30 18:03:17 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 62297df57a1a39894c6454be6694e76d818a1c01
      https://github.com/MythTV/mythtv/commit/62297df57a1a39894c6454be6694e76d818a1c01
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-06-29 (Thu, 29 Jun 2023)

  Changed paths:
    M mythtv/libs/libmythbase/mythdirs.cpp

  Log Message:
  -----------
  Replace "str.length()==0" with "str.isEmpty()".


  Commit: a30e476cac4b8fd2a411acdfd0ae52de038d0301
      https://github.com/MythTV/mythtv/commit/a30e476cac4b8fd2a411acdfd0ae52de038d0301
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-06-29 (Thu, 29 Jun 2023)

  Changed paths:
    M mythtv/libs/libmythbase/mythdirs.cpp

  Log Message:
  -----------
  Use forward slash for paths as recommended by the documentation for QDir.


  Commit: 81cba899f324a1a4962354b0c992f87bdfbb247c
      https://github.com/MythTV/mythtv/commit/81cba899f324a1a4962354b0c992f87bdfbb247c
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-06-29 (Thu, 29 Jun 2023)

  Changed paths:
    M mythtv/libs/libmythbase/mythdirs.cpp

  Log Message:
  -----------
  Print confdir when printing all the other paths.


  Commit: 08cbedb7aae9937ab95a20c8e572e63d7a7435dd
      https://github.com/MythTV/mythtv/commit/08cbedb7aae9937ab95a20c8e572e63d7a7435dd
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-06-29 (Thu, 29 Jun 2023)

  Changed paths:
    M mythtv/libs/libmythbase/mythdirs.cpp

  Log Message:
  -----------
  win: QStandardPaths::DataLocation is now two constants.

This is commented out code.  The old DataLocation constant has been
split into AppDataLocation and AppConfigLocation. Update the windows
code to use the new standard paths.


  Commit: 105e64eaf23d688a380a63d207a386c045332266
      https://github.com/MythTV/mythtv/commit/105e64eaf23d688a380a63d207a386c045332266
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-06-29 (Thu, 29 Jun 2023)

  Changed paths:
    M mythtv/libs/libmythbase/mythdirs.cpp

  Log Message:
  -----------
  win: Clean up share/confdir paths.

1) Prevent setting a sharedir path of "/".

2) Add a sharedir path based on appbindir.


  Commit: bc1905881683f027b62dc12df627ffab6443430e
      https://github.com/MythTV/mythtv/commit/bc1905881683f027b62dc12df627ffab6443430e
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-06-29 (Thu, 29 Jun 2023)

  Changed paths:
    M mythtv/libs/libmythbase/mythdirs.cpp

  Log Message:
  -----------
  Ensure that sharedir paths always ends with a slash character.

The canonicalPath() function always strips the trailing slash
character. We need to add it back because of the way paths are built
later.


  Commit: 6feb623f3efb631cef254e289fc579bc3d81068d
      https://github.com/MythTV/mythtv/commit/6feb623f3efb631cef254e289fc579bc3d81068d
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-06-30 (Fri, 30 Jun 2023)

  Changed paths:
    M mythtv/libs/libmythbase/mythdirs.cpp

  Log Message:
  -----------
  Merge changes to mythdirs.cpp.


Compare: https://github.com/MythTV/mythtv/compare/c198b0e50888...6feb623f3efb


More information about the mythtv-commits mailing list