diff options
author | Edward Welbourne <edward.welbourne@theqtcompany.com> | 2016-05-20 13:38:12 +0200 |
---|---|---|
committer | Yoann Lopes <yoann.lopes@qt.io> | 2016-06-03 12:38:02 +0000 |
commit | b3aa26a0ff51b29116cfe6b9a2246c9b798f315e (patch) | |
tree | e2857f7a34bbe5331573f06993b6736ebc3931ee /src | |
parent | 5473621bde2be226f2f3687a80b4bfc93bbbe572 (diff) |
QCameraPrivate: NULL-fill fields to be set up by init().
c.f. the constructor already doing the same for provider and the
various fields populated by initControls(), which init() calls.
Should be redundant (all QCamera constructors do invoke d->init() as
soon as they've constructed d), but better safe than sorry. Calms
Coverity (CID 22319).
Change-Id: Ibf5d13bb1ef17be8e66fa14ed5617b700051c495
Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/multimedia/camera/qcamera_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/multimedia/camera/qcamera_p.h b/src/multimedia/camera/qcamera_p.h index 1f4cfd984..1882ebd9c 100644 --- a/src/multimedia/camera/qcamera_p.h +++ b/src/multimedia/camera/qcamera_p.h @@ -72,6 +72,9 @@ public: infoControl(0), viewfinderSettingsControl(0), viewfinderSettingsControl2(0), + cameraExposure(0), + cameraFocus(0), + imageProcessing(0), viewfinder(0), capture(0), state(QCamera::UnloadedState), |