Fix QTime function deprecation warnings by switching to QElapsedTimer
Summary: The following functions have deprecation warnings: QTime::start(), QTime::restart(), QTime::elapsed() and recommend that QElapsedTimer be used instead of QTime. _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. Reviewers: #breeze, #plasma, hpereiradacosta Reviewed By: hpereiradacosta Subscribers: hpereiradacosta, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D26268
parent
8a6f6851
Please register or sign in to comment