Merge pull request #2143

b74aa1a dialogs: fix titlebar disabledness (mmbyday)
This commit is contained in:
luigi1111 2019-05-03 12:57:53 -05:00
commit 1b529fabef
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010
2 changed files with 0 additions and 18 deletions

View File

@ -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

View File

@ -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