summaryrefslogtreecommitdiffstats
path: root/src/plugins/qnx/camera/bbcameraexposurecontrol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qnx/camera/bbcameraexposurecontrol.cpp')
-rw-r--r--src/plugins/qnx/camera/bbcameraexposurecontrol.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/qnx/camera/bbcameraexposurecontrol.cpp b/src/plugins/qnx/camera/bbcameraexposurecontrol.cpp
index 4ecaed2ba..bd747ef61 100644
--- a/src/plugins/qnx/camera/bbcameraexposurecontrol.cpp
+++ b/src/plugins/qnx/camera/bbcameraexposurecontrol.cpp
@@ -131,7 +131,6 @@ QVariant BbCameraExposureControl::requestedValue(ExposureParameter parameter) co
QVariant BbCameraExposureControl::actualValue(ExposureParameter parameter) const
{
-#ifndef Q_OS_BLACKBERRY_TABLET
if (parameter != QCameraExposureControl::ExposureMode) // no other parameter supported by BB10 API at the moment
return QVariantList();
@@ -161,11 +160,10 @@ QVariant BbCameraExposureControl::actualValue(ExposureParameter parameter) const
case CAMERA_SCENE_NIGHT:
return QVariant::fromValue(QCameraExposure::ExposureNight);
default:
- return QVariant();
+ break;
}
-#else
+
return QVariant();
-#endif
}
bool BbCameraExposureControl::setValue(ExposureParameter parameter, const QVariant& value)