aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/NewPasswordDialog.qml9
-rw-r--r--components/PassphraseDialog.qml9
2 files changed, 0 insertions, 18 deletions
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