D26432: Port endl to std::cout/std::cerr or "\n" + flush when necessary. In qt5.15 endl is namespaced.

Laurent Montel noreply at phabricator.kde.org
Mon Jan 6 05:50:43 GMT 2020


mlaurent added inline comments.

INLINE COMMENTS

> dfaure wrote in kconfig_compiler.cpp:694
> Why? Surely the QTextStream destructor (which is called here) will take care of that.

I think that it was a problem when QTextStream used QString which doesn't flush it.
code is a QString

REPOSITORY
  R237 KConfig

REVISION DETAIL
  https://phabricator.kde.org/D26432

To: mlaurent, dfaure, tcanabrava
Cc: anthonyfieroni, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200106/ab5b0a90/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list