Port away from deprecated API on Qt 5.15.0
ClosedPublic

Authored by apol on Fri, Feb 14, 4:30 PM.

Details

Summary

Upstream recommends using QLocale for turning dates into strings.

Test Plan

Builds on my system now

Diff Detail

Repository
R871 DrKonqi
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
apol created this revision.Fri, Feb 14, 4:30 PM
Restricted Application added a project: Plasma. · View Herald TranscriptFri, Feb 14, 4:30 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
apol requested review of this revision.Fri, Feb 14, 4:30 PM
davidedmundson accepted this revision.Fri, Feb 14, 4:52 PM
This revision is now accepted and ready to land.Fri, Feb 14, 4:52 PM
sitter accepted this revision.Fri, Feb 14, 5:05 PM
usta added a subscriber: usta.Fri, Feb 14, 7:00 PM

isnt this also needs #include <QLocale>

This revision was automatically updated to reflect the committed changes.