D26320: endl is Qt:: namespaced in qt5.15. Port to \n and flush when QTextStream is not on a QFile

David Faure noreply at phabricator.kde.org
Fri Jan 3 08:36:21 GMT 2020


dfaure added a comment.


  Doesn't flushing happen automatically when internal buffers are full enough? i.e. I don't think the app should have to think about that, except when it *wants* partial results to be visible (which isn't the case in a code generator).
  
  About replace('\n', '\r\n') vs endl doing that, well, this is what makes it possible to use "\n" in code and still get \r\n on Windows :)

REPOSITORY
  R269 BluezQt

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

To: mlaurent, dfaure
Cc: kossebau, apol, 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/20200103/cb2417ef/attachment.html>


More information about the Kde-frameworks-devel mailing list