Doc: QImageReader assumes exclusive control over its device

Make an explicit mention of the fact that modifying a device while it
is being held by a QImageReader is undefined.

Task-number: QTBUG-61121
Change-Id: Ie0a016255c2614c5b8b415c8cd9602169153c8f8
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
This commit is contained in:
Eirik Aavitsland 2017-06-16 14:27:19 +02:00 committed by Liang Qi
parent 7a26582807
commit 4e339a5ac1

View File

@ -72,6 +72,11 @@
that occurred, or errorString() to get a human readable
description of what went wrong.
\note QImageReader assumes exclusive control over the file or
device that is assigned. Any attempts to modify the assigned file
or device during the lifetime of the QImageReader object will
yield undefined results.
\section1 Formats
Call supportedImageFormats() for a list of formats that