Default value for the property is null. No need to assign it explicitly
authorMohammed Sameer <msameer@foolab.org>
Sun, 15 Sep 2013 00:11:35 +0000 (03:11 +0300)
committerMohammed Sameer <msameer@foolab.org>
Sun, 15 Sep 2013 00:11:35 +0000 (03:11 +0300)
qml/ZoomSlider.qml

index 0f0b74a..6bff0c1 100644 (file)
@@ -25,7 +25,7 @@ import QtCamera 1.0
 
 CameraSlider {
     id: slider
-    property Camera camera: null
+    property Camera camera
 
     handleBackground: ""
     handleBackgroundPressed: ""