From 1b563aca1a98760c9dded9e8a3d4eb726abb0ae2 Mon Sep 17 00:00:00 2001 From: Bernd Weimer Date: Tue, 15 Oct 2013 14:26:29 +0200 Subject: [PATCH] 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 --- src/plugins/blackberry/camera/bbcamerasession.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); -- 2.7.4