proximity sensor support implemented. Remove TODO
[harmattan/cameraplus] / qml / CameraToolBar.qml
index b53039b..0526128 100644 (file)
@@ -48,6 +48,10 @@ Rectangle {
         __currentTools = Layout.pop();
     }
 
+    function depth() {
+        return Layout.depth()
+    }
+
     onToolsChanged: {
         push(tools)
     }
@@ -118,7 +122,7 @@ Rectangle {
         visible: !parent.hideBack
         id: menu
         anchors.verticalCenter: parent.verticalCenter
-        iconId: cameraTheme.cameraToolBarMenuIcon
+        iconSource: cameraTheme.cameraToolBarMenuIcon
         anchors.left: parent.left
         anchors.top: parent.top
         anchors.bottom: parent.bottom