Replace currentDateTimeUtc().toTime_t() with currentSecsSinceEpoch()
ClosedPublic

Authored by bruns on Apr 1 2019, 11:46 AM.

Details

Summary

toTime_t() is obsolete since Qt 5.8, and currentSecsSinceEpoch() is
faster.

Diff Detail

Repository
R241 KIO
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bruns created this revision.Apr 1 2019, 11:46 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptApr 1 2019, 11:46 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
bruns requested review of this revision.Apr 1 2019, 11:46 AM
apol accepted this revision.Apr 1 2019, 12:46 PM
This revision is now accepted and ready to land.Apr 1 2019, 12:46 PM
This revision was automatically updated to reflect the committed changes.