Activated the option to disable capture previews
authorMohammed Sameer <msameer@foolab.org>
Sun, 15 Sep 2013 18:43:23 +0000 (21:43 +0300)
committerMohammed Sameer <msameer@foolab.org>
Sun, 15 Sep 2013 18:43:23 +0000 (21:43 +0300)
qml/CameraSettings.qml
qml/ImageOverlay.qml
qml/VideoOverlay.qml

index 34d4bab..2290159 100644 (file)
@@ -99,7 +99,6 @@ Column {
 
     CameraTextSwitch {
         text: qsTr("Preview images and videos after capturing")
-        visible: false
         checked: settings.enablePreview
         onCheckedChanged: settings.enablePreview = checked
     }
index abcadbc..ca507c9 100644 (file)
@@ -45,6 +45,8 @@ Item {
 
         onCaptureEnded: stopAutoFocus()
 
+        enablePreview: settings.enablePreview
+
         onPreviewAvailable: overlay.previewAvailable(preview)
 
         onSaved: mountProtector.unlock(fileNaming.imagePath)
index 60e5467..2d55bb7 100644 (file)
@@ -44,6 +44,7 @@ Item {
     VideoMode {
         id: videoMode
         camera: cam
+        enablePreview: settings.enablePreview
         onPreviewAvailable: overlay.previewAvailable(preview)
     }