diff --git a/components/NewPasswordDialog.qml b/components/NewPasswordDialog.qml index 173fe170..3f3c4f38 100644 --- a/components/NewPasswordDialog.qml +++ b/components/NewPasswordDialog.qml @@ -82,15 +82,6 @@ Item { width: 480 height: 360 - // Make window draggable - MouseArea { - anchors.fill: parent - property point lastMousePos: Qt.point(0, 0) - onPressed: { lastMousePos = Qt.point(mouseX, mouseY); } - onMouseXChanged: root.x += (mouseX - lastMousePos.x) - onMouseYChanged: root.y += (mouseY - lastMousePos.y) - } - ColumnLayout { z: inactiveOverlay.z + 1 id: mainLayout diff --git a/components/PassphraseDialog.qml b/components/PassphraseDialog.qml index 9ae57db4..79dd2f19 100644 --- a/components/PassphraseDialog.qml +++ b/components/PassphraseDialog.qml @@ -94,15 +94,6 @@ Item { width: 480 height: 360 - // Make window draggable - MouseArea { - anchors.fill: parent - property point lastMousePos: Qt.point(0, 0) - onPressed: { lastMousePos = Qt.point(mouseX, mouseY); } - onMouseXChanged: root.x += (mouseX - lastMousePos.x) - onMouseYChanged: root.y += (mouseY - lastMousePos.y) - } - ColumnLayout { z: inactiveOverlay.z + 1 id: mainLayout