From: Bernd Weimer Date: Tue, 15 Oct 2013 12:26:29 +0000 (+0200) Subject: Removed camera error code X-Git-Tag: upstream/5.2.95+rc1~36 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1b563aca1a98760c9dded9e8a3d4eb726abb0ae2;p=platform%2Fupstream%2Fqtmultimedia.git Removed camera error code Removed mapping of one camera error code to a string, because the code is not available yet in the BlackBerry NDK version 10.2. Change-Id: I91a8adc8d915e065daccb665ce7a57236b9d1545 Reviewed-by: Wolfgang Bremer Reviewed-by: Rafael Roquetto Reviewed-by: Thomas McGuire --- diff --git a/src/plugins/blackberry/camera/bbcamerasession.cpp b/src/plugins/blackberry/camera/bbcamerasession.cpp index 64a075c..ca77138 100644 --- a/src/plugins/blackberry/camera/bbcamerasession.cpp +++ b/src/plugins/blackberry/camera/bbcamerasession.cpp @@ -104,8 +104,8 @@ static QString errorToString(camera_error_t error) return QLatin1String("Camera in power down state"); case CAMERA_3ALOCKED: return QLatin1String("3A have been locked"); - case CAMERA_EVIEWFINDERFROZEN: - return QLatin1String("Freeze flag set"); +// case CAMERA_EVIEWFINDERFROZEN: // not yet available in 10.2 NDK +// return QLatin1String("Freeze flag set"); #endif default: return QLatin1String("Unknown error");