[kservice] compile without deprecated method
ClosedPublic

Authored by mlaurent on Mar 1 2019, 6:05 AM.

Details

Summary

compile without deprecated method

Test Plan

autotest ok

Diff Detail

Repository
R309 KService
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
mlaurent created this revision.Mar 1 2019, 6:05 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptMar 1 2019, 6:05 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
mlaurent requested review of this revision.Mar 1 2019, 6:05 AM
dfaure requested changes to this revision.Mar 1 2019, 8:30 AM
dfaure added inline comments.
autotests/ksycocathreadtest.cpp
306

This doesn't truncate milliseconds anymore....

You should port toTime_t to toSecsSinceEpoch (no 'M')

This revision now requires changes to proceed.Mar 1 2019, 8:30 AM
mlaurent updated this revision to Diff 53011.Mar 2 2019, 5:03 PM

Use toSecsSinceEpoch

dfaure accepted this revision.Mar 2 2019, 5:13 PM
This revision is now accepted and ready to land.Mar 2 2019, 5:13 PM
This revision was automatically updated to reflect the committed changes.