@@ -27,8 +27,6 @@ MouseArea {
2727 hoverEnabled: target && !target.maximized // don't grab the resize under the panel
2828
2929 readonly property alias dragging: d.dragging
30− readonly property alias normalWidth: priv.normalWidth
31− readonly property alias normalHeight: priv.normalHeight
3230
3331 // The target item managed by this. Must be a parent or a sibling
3432 // The area will anchor to it and manage resize events
@@ -38,37 +36,6 @@ MouseArea {
3836 property int minWidth: 0
3937 property int minHeight: 0
4038
41− function init() {
42− priv.updateNormalGeometry();
43− }
44−
45− QtObject {
46− id: priv
47− objectName: "priv"
48−
49− property int normalX: 0
50− property int normalY: 0
51− property int normalWidth: 0
52− property int normalHeight: 0
53−
54− function updateNormalGeometry() {
55− if (root.target.state == "normal" || root.target.state == "restored") {
56− normalX = root.target.requestedX
57− normalY = root.target.requestedY
58− normalWidth = root.target.width
59− normalHeight = root.target.height
60− }
61− }
62− }
63−
64− Connections {
65− target: root.target
66− onXChanged: priv.updateNormalGeometry();
67− onYChanged: priv.updateNormalGeometry();
68− onWidthChanged: priv.updateNormalGeometry();
69− onHeightChanged: priv.updateNormalGeometry();
70− }
71−
7239 QtObject {
7340 id: d
7441