Remove endl in qDebug as it's already add "\n" + port to Qt::endl in qt5.15
ClosedPublic

Authored by mlaurent on Dec 30 2019, 8:28 PM.

Details

Summary

Port endl method for compiling against qt5.15

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.Dec 30 2019, 8:28 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptDec 30 2019, 8:28 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
mlaurent requested review of this revision.Dec 30 2019, 8:28 PM
apol added a subscriber: apol.Dec 31 2019, 6:42 PM
apol added inline comments.
tests/pluginlocator/plugintest.cpp
60–66

std::endl should just work with cout.

mlaurent added inline comments.Jan 1 2020, 9:17 AM
tests/pluginlocator/plugintest.cpp
60–66

static QTextStream cout(stdout);
it's a QTextStream

apol accepted this revision.Jan 3 2020, 2:53 PM
This revision is now accepted and ready to land.Jan 3 2020, 2:53 PM
This revision was automatically updated to reflect the committed changes.