Use the backend to notify the QCamera state changes.
authorYoann Lopes <yoann.lopes@digia.com>
Thu, 5 Dec 2013 16:47:49 +0000 (17:47 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 5 Dec 2013 21:55:02 +0000 (22:55 +0100)
commit9ceb1c083e4f6911ace1af3c9dfa6b4dd9036586
tree61194bf8a6c82d9248c6dbd5c80f23e1c89c8a33
parent13d7f835fad59fbda69bfa160e21f19d095ac8d5
Use the backend to notify the QCamera state changes.

We were emitting the stateChanged() signal no matter what was actually
done by the backend. QCamera now emits this signal only if the backend
actually changed the state.

Task-number: QTBUG-35070
Change-Id: I9f32361cd815dbcc366ad30033692f9ae732ec46
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
src/multimedia/camera/qcamera.cpp