Hide video torch setting when front camera is active
authorMohammed Sameer <msameer@foolab.org>
Mon, 12 Aug 2013 18:56:24 +0000 (21:56 +0300)
committerMohammed Sameer <msameer@foolab.org>
Mon, 12 Aug 2013 18:56:24 +0000 (21:56 +0300)
qml/VideoOverlay.qml

index 185d079..382410e 100644 (file)
@@ -104,6 +104,7 @@ Item {
         tools: CameraToolBarTools {
             VideoTorchButton {
                 camera: cam
         tools: CameraToolBarTools {
             VideoTorchButton {
                 camera: cam
+                visible: cam.device == 0
             }
 
             VideoSceneButton {
             }
 
             VideoSceneButton {