On Sunday, 13 May 2018 23:02:56 PDT alexander golks wrote:
> still this makes QFile unusable with QDataStream, doesn't it?
> isn't the documentation for QIODevice::writeData not correct then?

No more so than any other QIODevice. If QFile fails to write for some reason, 
then QDataStream can't recover. The only difference is that QFile does not 
have an unlimited buffer, like QAbstractSocket does.

In fact, QDataStream can't recover from any errors.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center



_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to