Clarify documentation for QImageCapture's 'ready' property.
authorYoann Lopes <yoann.lopes@theqtcompany.com>
Tue, 10 Feb 2015 10:44:58 +0000 (11:44 +0100)
committerYoann Lopes <yoann.lopes@theqtcompany.com>
Tue, 10 Feb 2015 13:12:20 +0000 (13:12 +0000)
commitbeba964dc412de78fad8fb0e3a9c8a20ff3c0399
treeb8e62b4bfea716e967570958dcd7872e87fde31c
parentd3df85959b8e8ef90c512f1c9a8628f11167f7e6
Clarify documentation for QImageCapture's 'ready' property.

Unlike what was described in the documentation, it's not permissible to
call capture() while 'ready' or isReadyForCapture() is false. All
backends emit an error in that case.
Updated the documentation to reflect that behavior.

Change-Id: Icb326e65376b65eadd4c68b67e0ee30beddf1a04
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
src/imports/multimedia/qdeclarativecameracapture.cpp
src/multimedia/camera/qcameraimagecapture.cpp