summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVaL Doroshchuk <valentyn.doroshchuk@qt.io>2018-12-11 09:59:58 +0100
committerVaL Doroshchuk <valentyn.doroshchuk@qt.io>2019-01-02 20:18:34 +0000
commit5d7531192bbb411c24039dd5c68805d42383f547 (patch)
tree219941ea17d03679049582390a1c9597625bbcb3 /tests
parent982d4c9505cf427709aac18346dd9df4a13f76c5 (diff)
Fix QCamera::testCameraLockCancel test
Since QCamera(0, provider) does not make any sense, because provider should not be passed to ctor, it is already inited as default. Change-Id: I398671ef9885a94d5f651a33f7f5376252611a1e Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/unit/qcamera/tst_qcamera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/unit/qcamera/tst_qcamera.cpp b/tests/auto/unit/qcamera/tst_qcamera.cpp
index 5c2d3529a..fa5e7187b 100644
--- a/tests/auto/unit/qcamera/tst_qcamera.cpp
+++ b/tests/auto/unit/qcamera/tst_qcamera.cpp
@@ -1500,7 +1500,7 @@ void tst_QCamera::testCameraLockCancel()
{
MockCameraService service;
provider->service = &service;
- QCamera camera(0, provider);
+ QCamera camera;
camera.focus()->setFocusMode(QCameraFocus::AutoFocus);