D26268: Fix QTime function deprecation warnings by switching to QElapsedTimer

2019-12-29 Thread Noah Davis
This revision was automatically updated to reflect the committed changes.
Closed by commit R31:ff333a478065: Fix QTime function deprecation warnings by 
switching to QElapsedTimer (authored by ndavis).

REPOSITORY
  R31 Breeze

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D26268?vs=72318&id=72354

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

AFFECTED FILES
  kstyle/animations/breezetransitiondata.h

To: ndavis, #breeze, #plasma, hpereiradacosta
Cc: hpereiradacosta, 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


D26268: Fix QTime function deprecation warnings by switching to QElapsedTimer

2019-12-29 Thread Noah Davis
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