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
Sat Jan 11 09:32:24 GMT 2020
dfaure added a comment.
Right, from a performance point of view, I believe this code was flushing far too much. In fact even now those calls to flush() are all unnecessary. Just one flush before closing the file is enough to be sure, or even without it, it will work (socket notifier says closed => stream flushes)
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/20200111/c96cc59b/attachment.html>
More information about the Kde-frameworks-devel
mailing list