diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-05-03 12:57:53 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-05-03 12:57:53 -0500 |
| commit | 1b529fabefe2aef9cc6cde0b5f324f2e86783918 (patch) | |
| tree | 5f0a6443bfc65374921c029d6bd30129f429743e | |
| parent | eb53c72ca4e60a83705fc45de7170aaf541f39bb (diff) | |
| parent | b74aa1a5856842a12b61033fbd8724d5d456da76 (diff) | |
| download | monzero-gui-1b529fabefe2aef9cc6cde0b5f324f2e86783918.tar.gz monzero-gui-1b529fabefe2aef9cc6cde0b5f324f2e86783918.tar.xz monzero-gui-1b529fabefe2aef9cc6cde0b5f324f2e86783918.zip | |
Merge pull request #2143
b74aa1a dialogs: fix titlebar disabledness (mmbyday)
| -rw-r--r-- | components/NewPasswordDialog.qml | 9 | ||||
| -rw-r--r-- | components/PassphraseDialog.qml | 9 |
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 |
