diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-12-21 20:17:59 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-01-21 06:47:54 +0000 |
commit | 8fa850ac421d156de0288575f8ff86d617e0473d (patch) | |
tree | 2c2e9e161dc1073923012da355d108afe00fc105 /src/imports | |
parent | 947ba76d7602238ad55b818e19466f6517095375 (diff) |
Remove unused QCamerExposureControl::FlashPower/FlashCompensation
Change-Id: I6f78042885441966809fabe0dd038e23eb14ebdb
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Doris Verria <doris.verria@qt.io>
Diffstat (limited to 'src/imports')
-rw-r--r-- | src/imports/multimedia/qdeclarativetorch.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/imports/multimedia/qdeclarativetorch.cpp b/src/imports/multimedia/qdeclarativetorch.cpp index 954926b98..410938059 100644 --- a/src/imports/multimedia/qdeclarativetorch.cpp +++ b/src/imports/multimedia/qdeclarativetorch.cpp @@ -171,9 +171,8 @@ void QDeclarativeTorch::setPower(int power) /* Check for changes in flash power */ void QDeclarativeTorch::parameterChanged(int parameter) { - if (parameter == QCameraExposureControl::FlashPower) { + if (parameter == QCameraExposureControl::TorchPower) emit powerChanged(); - } } QT_END_NAMESPACE |