From ae73640acac13dbf0f287a25af265ac6e09f0b72 Mon Sep 17 00:00:00 2001 From: Mohammed Sameer Date: Mon, 15 Jul 2013 19:39:06 +0300 Subject: [PATCH] We will pretend that we have the same camera resources used by the overlay This is to prevent stopping the pipeline when we move to post capture. As it hurts the transition --- qml/PostCaptureView.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qml/PostCaptureView.qml b/qml/PostCaptureView.qml index 59924fa..7be86a1 100644 --- a/qml/PostCaptureView.qml +++ b/qml/PostCaptureView.qml @@ -23,10 +23,12 @@ import QtQuick 1.1 import CameraPlus 1.0 import com.nokia.meego 1.1 +import QtCamera 1.0 Item { property bool pressed: view.currentItem ? view.currentItem.playing : false - property int policyMode: CameraResources.None + property int policyMode: settings.mode == Camera.VideoMode ? CameraResources.Video + : CameraResources.Image property bool available: view.currentItem ? view.currentItem.itemData.available : false Component.onCompleted: postCaptureModel.reload() -- 2.25.1