Remove unused code & outdated todo comment

CURA-5785
This commit is contained in:
Jaime van Kessel 2018-11-14 16:49:01 +01:00
parent 9aa5b6fe3f
commit 20b7a925a0

View file

@ -115,14 +115,9 @@ Item
Loader
{
// TODO: Make this panel collapsable and ensure it has a standardised background.
id: viewPanel
//property var buttonTarget: Qt.point(viewModeButton.x + Math.round(viewModeButton.width / 2), viewModeButton.y + Math.round(viewModeButton.height / 2))
height: parent.height
width: childrenRect.width
source: UM.Controller.activeView != null && UM.Controller.activeView.stageMenuComponent != null ? UM.Controller.activeView.stageMenuComponent : ""
}