Port endl to \n
ClosedPublic

Authored by mlaurent on Jan 2 2020, 6:42 PM.

Details

Summary

Port endl to \n + flush when necessary

Diff Detail

Repository
R290 KPackage
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.Jan 2 2020, 6:42 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptJan 2 2020, 6:42 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
mlaurent requested review of this revision.Jan 2 2020, 6:42 PM
apol accepted this revision.Jan 2 2020, 7:30 PM
This revision is now accepted and ready to land.Jan 2 2020, 7:30 PM
This revision was automatically updated to reflect the committed changes.
dfaure added a comment.Jan 3 2020, 8:40 AM

I would just use std::cout and std::cerr. Yes, at the price of a call to qPrintable(), but that's less ugly and more standard IMHO.