Don't do an initial population of the stack when we are initiated.
[harmattan/cameraplus] / qml / CameraToolBar.qml
index b82e825..84cb019 100644 (file)
@@ -74,12 +74,6 @@ Rectangle {
         onWidthChanged: Layout.layout();
         onTargetWidthChanged: Layout.layout();
 
-        Component.onCompleted: {
-                if (tools.expanded) {
-                        tools.push(tools.items);
-                }
-        }
-
         function push(items) {
                 return Layout.push(items);
         }