on xenial help sign in
dropped unused variables
fe457e3Michael Zanetti
qml/Stages/WindowMoveResizeArea.qml−4
@@ -39,8 +39,6 @@ MouseArea {
39 readonly property int windowHeight: root.height - resizeHandleWidth * 2
39 readonly property int windowHeight: root.height - resizeHandleWidth * 2
40
40
41 property var startPoint
41 property var startPoint
42− property int startWidth
43− property int startHeight
44
42
45 property bool resizeTop: false
43 property bool resizeTop: false
46 property bool resizeBottom: false
44 property bool resizeBottom: false
@@ -61,8 +59,6 @@ MouseArea {
61
59
62 onPressed: {
60 onPressed: {
63 priv.startPoint = Qt.point(mouse.x, mouse.y);
61 priv.startPoint = Qt.point(mouse.x, mouse.y);
64− priv.startWidth = root.width;
65− priv.startHeight = root.height;
66 priv.resizeTop = mouseY < root.resizeHandleWidth;
62 priv.resizeTop = mouseY < root.resizeHandleWidth;
67 priv.resizeBottom = mouseY > (root.height - root.resizeHandleWidth);
63 priv.resizeBottom = mouseY > (root.height - root.resizeHandleWidth);
68 priv.resizeLeft = mouseX < root.resizeHandleWidth;
64 priv.resizeLeft = mouseX < root.resizeHandleWidth;