D26268: Fix QTime function deprecation warnings by switching to QElapsedTimer

Noah Davis noreply at phabricator.kde.org
Sun Dec 29 08:14:16 GMT 2019


ndavis created this revision.
ndavis added reviewers: Breeze, Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
ndavis requested review of this revision.

REVISION SUMMARY
  The following functions have deprecation warnings: start(), restart(), elapsed()
  _clock.isNull() had to be changed to !_clock.isValid() since QElapsedTimer does not have isNull().
  QTime::isNull() is also invalid, so behavior shouldn't change.

REPOSITORY
  R31 Breeze

BRANCH
  replace-deprecated-2 (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D26268

AFFECTED FILES
  kstyle/animations/breezetransitiondata.h

To: ndavis, #breeze, #plasma
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191229/42c99fc2/attachment-0001.html>


More information about the Plasma-devel mailing list