diff options
author | Lars Knoll <lars.knoll@qt.io> | 2021-02-26 11:59:35 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-03-16 07:35:23 +0000 |
commit | f610426bf5d12f83a64ffed3b991d3c7e228b2be (patch) | |
tree | b9b21d2762d9d8de7c09f084b6b20d2d15c5f093 /src/multimedia/camera/qcameraexposure.h | |
parent | 61f56de2243d8e278dc103b18d0392bf2b4fa669 (diff) |
Remove unused exposure settings
Those enum values aren't supported by any camera API we
integrate with, get rid of them.
Change-Id: Ie2bffd060ed741230802de0b833e71beb2642e05
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Doris Verria <doris.verria@qt.io>
Diffstat (limited to 'src/multimedia/camera/qcameraexposure.h')
-rw-r--r-- | src/multimedia/camera/qcameraexposure.h | 39 |
1 files changed, 17 insertions, 22 deletions
diff --git a/src/multimedia/camera/qcameraexposure.h b/src/multimedia/camera/qcameraexposure.h index 8fbc54857..4d95e9c52 100644 --- a/src/multimedia/camera/qcameraexposure.h +++ b/src/multimedia/camera/qcameraexposure.h @@ -79,28 +79,23 @@ public: }; enum ExposureMode { - ExposureAuto = 0, - ExposureManual = 1, - ExposurePortrait = 2, - ExposureNight = 3, - ExposureBacklight = 4, - ExposureSpotlight = 5, - ExposureSports = 6, - ExposureSnow = 7, - ExposureBeach = 8, - ExposureLargeAperture = 9, - ExposureSmallAperture = 10, - ExposureAction = 11, - ExposureLandscape = 12, - ExposureNightPortrait = 13, - ExposureTheatre = 14, - ExposureSunset = 15, - ExposureSteadyPhoto = 16, - ExposureFireworks = 17, - ExposureParty = 18, - ExposureCandlelight = 19, - ExposureBarcode = 20, - ExposureModeVendor = 1000 + ExposureAuto, + ExposureManual, + ExposurePortrait, + ExposureNight, + ExposureSports, + ExposureSnow, + ExposureBeach, + ExposureAction, + ExposureLandscape, + ExposureNightPortrait, + ExposureTheatre, + ExposureSunset, + ExposureSteadyPhoto, + ExposureFireworks, + ExposureParty, + ExposureCandlelight, + ExposureBarcode }; bool isAvailable() const; |