@@ -50,12 +50,12 @@ MouseArea {
5050 }
5151
5252 Component.onCompleted: {
53− var windowSizePosition = WindowPositionStorage.getPosition(root.windowId)
54− if (windowSizePosition !== undefined) {
55− target.x = windowSizePosition.x
56− target.y = windowSizePosition.y
57− target.width = windowSizePosition.width
58− target.height = windowSizePosition.height
53+ var windowGeometry = WindowPositionStorage.getGeometry(root.windowId)
54+ if (windowGeometry !== undefined) {
55+ target.x = windowGeometry.x
56+ target.y = windowGeometry.y
57+ target.width = windowGeometry.width
58+ target.height = windowGeometry.height
5959 }
6060 }
6161
@@ -109,6 +109,6 @@ MouseArea {
109109 }
110110
111111 onReleased: {
112− WindowPositionStorage.savePosition(root.windowId,target.x, target.y, target.width, target.height)
112+ WindowPositionStorage.saveGeometry(root.windowId,target.x, target.y, target.width, target.height)
113113 }
114114}