diff options
author | Doris Verria <doris.verria@qt.io> | 2021-05-25 19:38:57 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-05-26 05:59:30 +0000 |
commit | d8d5fe313dcb1c72007295108db821c2c1771537 (patch) | |
tree | 475a856c9531b1d63bce28a1b536f6761a841313 /tests | |
parent | 80692b9476be22b7e1a82e4d90b54c939d81a24b (diff) |
Implement support for QCamera::Features on darwin
Add FocusDistance and CustomFocusPoint to QCamera::Features.
Set supported featurues upon camera change for AVFCamera.
Change-Id: Ia2b89dce2770b3c0f0909fbe3df2fb10e05ee507
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/unit/mockbackend/qmockcamera.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/unit/mockbackend/qmockcamera.h b/tests/auto/unit/mockbackend/qmockcamera.h index f9d6e1edf..df249271b 100644 --- a/tests/auto/unit/mockbackend/qmockcamera.h +++ b/tests/auto/unit/mockbackend/qmockcamera.h @@ -101,7 +101,6 @@ public: bool isFocusModeSupported(QCamera::FocusMode mode) const override { return simpleCamera ? mode == QCamera::FocusModeAuto : mode != QCamera::FocusModeInfinity; } - bool isCustomFocusPointSupported() const override { return !simpleCamera; } void setCustomFocusPoint(const QPointF &point) override { if (!simpleCamera) |