[mythtv-commits] [MythTV/mythtv] d22315: Remove usage of obsolete QString::sprintf function.

linuxdude42 noreply at github.com
Thu Apr 16 11:41:33 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: d2231512f36bd4c5ace8a7d2f174106d1658cb9f
      https://github.com/MythTV/mythtv/commit/d2231512f36bd4c5ace8a7d2f174106d1658cb9f
  Author: David Hampton <mythtv at love2code.net>
  Date:   2020-04-16 (Thu, 16 Apr 2020)

  Changed paths:
    M mythplugins/mytharchive/mytharchive/exportnative.cpp
    M mythplugins/mythmusic/mythmusic/avfdecoder.cpp
    M mythplugins/mythmusic/mythmusic/musiccommon.cpp

  Log Message:
  -----------
  Remove usage of obsolete QString::sprintf function.


  Commit: 9d1d257dc68f2534efe2f8e2a46a4b722949d1d7
      https://github.com/MythTV/mythtv/commit/9d1d257dc68f2534efe2f8e2a46a4b722949d1d7
  Author: David Hampton <mythtv at love2code.net>
  Date:   2020-04-16 (Thu, 16 Apr 2020)

  Changed paths:
    M mythtv/libs/libmythfreemheg/Engine.h
    M mythtv/libs/libmythfreemheg/Groups.cpp
    M mythtv/libs/libmythfreemheg/Groups.h

  Log Message:
  -----------
  Migrate some uses of QTime to QElapsedTimer in libmythfreemheg.

The QTime::start function has been obsoleted and the recommended
replacement is the use of a QElapsedTimer.  Update libmythfreemheg to
use QElapsedTimers where needed.


  Commit: c47ae6d443ddd2e305ee862e616e5ad0b0b46509
      https://github.com/MythTV/mythtv/commit/c47ae6d443ddd2e305ee862e616e5ad0b0b46509
  Author: David Hampton <mythtv at love2code.net>
  Date:   2020-04-16 (Thu, 16 Apr 2020)

  Changed paths:
    M mythplugins/mytharchive/mytharchive/thumbfinder.cpp
    M mythplugins/mythmusic/mythmusic/cdrip.cpp
    M mythplugins/mythmusic/mythmusic/musiccommon.cpp
    M mythtv/libs/libmythbase/mythmiscutil.cpp
    M mythtv/libs/libmythbase/mythmiscutil.h
    M mythtv/libs/libmythmetadata/lyricsdata.h
    M mythtv/libs/libmythmetadata/musicmetadata.cpp
    M mythtv/libs/libmythtv/Bluray/mythbdbuffer.cpp
    M mythtv/libs/libmythtv/Bluray/mythbdbuffer.h
    M mythtv/libs/libmythtv/Bluray/mythbdplayer.cpp
    M mythtv/libs/libmythtv/captions/srtwriter.cpp
    M mythtv/libs/libmythtv/captions/srtwriter.h
    M mythtv/libs/libmythtv/commbreakmap.cpp
    M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
    M mythtv/libs/libmythtv/deletemap.cpp
    M mythtv/libs/libmythtv/mythplayer.cpp
    M mythtv/libs/libmythtv/mythplayer.h
    M mythtv/libs/libmythtv/tv_play.cpp
    M mythtv/libs/libmythtv/tv_play.h
    M mythtv/libs/libmythupnp/upnphelpers.cpp
    M mythtv/programs/mythcommflag/CommDetector2.cpp

  Log Message:
  -----------
  Consolidate formatting of time strings.

This started as a task to eliminate the obsolete QString::sprintf
function, and evolved into a task to consolidate the formatting of
tine strings through out the code.  There are now two functions to
call to get a formatted time.  The only difference is whether you pass
a time in seconds or in milliseconds.  The formatting argument to
these functions is the same as for the QTime::toString formatting
argument.


  Commit: fe4a0b979e56bc5a17fce303bf79096424cd10af
      https://github.com/MythTV/mythtv/commit/fe4a0b979e56bc5a17fce303bf79096424cd10af
  Author: David Hampton <mythtv at love2code.net>
  Date:   2020-04-16 (Thu, 16 Apr 2020)

  Changed paths:
    M mythtv/programs/mythfrontend/galleryinfo.cpp

  Log Message:
  -----------
  Remove usage of obsolete QSet::fromList function.


Compare: https://github.com/MythTV/mythtv/compare/884e2a821148...fe4a0b979e56


More information about the mythtv-commits mailing list