aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authormmbyday <mmbyday@protonmail.com>2019-04-30 22:00:39 -0700
committermmbyday <mmbyday@protonmail.com>2019-04-30 22:00:39 -0700
commitb74aa1a5856842a12b61033fbd8724d5d456da76 (patch)
treedda57cc91e6f4338532983571c1603b8c01ed8a5 /components
parent97cd215491a44c753ee1450712b3b8d93efdcc37 (diff)
downloadmonzero-gui-b74aa1a5856842a12b61033fbd8724d5d456da76.tar.gz
monzero-gui-b74aa1a5856842a12b61033fbd8724d5d456da76.tar.xz
monzero-gui-b74aa1a5856842a12b61033fbd8724d5d456da76.zip
dialogs: fix titlebar disabledness
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