Changed QCamera::captureMode property to QFlags
This enables the expression of extra camera modes like viewfinder only or capture during video recording. Change-Id: Ie02fdeef5eb7fd6fc2f133c1afb0141e37c22b06 Reviewed-by: Mithra Pattison <mithra.pattison@nokia.com> Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
a6268601c9
commit
53d71baed3
@@ -71,7 +71,7 @@ void DSCameraControl::setState(QCamera::State state)
|
||||
}
|
||||
}
|
||||
|
||||
bool DSCameraControl::isCaptureModeSupported(QCamera::CaptureMode mode) const
|
||||
bool DSCameraControl::isCaptureModeSupported(QCamera::CaptureModes mode) const
|
||||
{
|
||||
bool bCaptureSupported = false;
|
||||
switch (mode) {
|
||||
|
||||
Reference in New Issue
Block a user