No need for the when condition for binding camera zoom value to slider value
authorMohammed Sameer <msameer@foolab.org>
Sun, 15 Sep 2013 13:33:26 +0000 (16:33 +0300)
committerMohammed Sameer <msameer@foolab.org>
Sun, 15 Sep 2013 13:33:26 +0000 (16:33 +0300)
qml/ZoomSlider.qml

index 6bff0c1..5d1289d 100644 (file)
@@ -34,7 +34,6 @@ CameraSlider {
         target: camera ? camera.zoom : null
         property: "value"
         value: slider.value
         target: camera ? camera.zoom : null
         property: "value"
         value: slider.value
-        when: camera != null
     }
 
     Connections {
     }
 
     Connections {