BlackBerry: Fix the rotation of the viewfinder
authorFabian Bumberger <fbumberger@rim.com>
Thu, 27 Mar 2014 15:18:11 +0000 (16:18 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 2 Apr 2014 14:31:53 +0000 (16:31 +0200)
commit3a18ec30f030d52026880c67d928654822eede8f
treee4e1bd152354cd28d2617cc0b15b21352e213893
parent244c63f72a8ec6aededda40723bf61b7f32bf277
BlackBerry: Fix the rotation of the viewfinder

This fixes the rotation of the viewfinder. We have to adjust the orientation
depending on the primary screen orientation. On a keyboard device, the viewfinder
would not rotate at all (same if auto orientation is turned off).

Task-number: QTBUG-37894
Change-Id: I2bf955fb3303ed236d3234154ded94fe78607455
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Reviewed-by: Bernd Weimer <bweimer@blackberry.com>
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
src/plugins/qnx/camera/bbcameraorientationhandler.cpp
src/plugins/qnx/camera/bbcameraorientationhandler.h
src/plugins/qnx/camera/bbcamerasession.cpp