plugins/overview: Fix a warning about incorrect anchor

The mouse area is no longer a sibling of the window heap, which produces
a warning.

BUG: 481106
This commit is contained in:
Vlad Zahorodnii 2024-02-12 12:27:28 +02:00
parent 956451111c
commit b02190bf23

View file

@ -581,12 +581,6 @@ FocusScope {
}
}
}
MouseArea {
anchors.fill: heap
acceptedButtons: Qt.NoButton
cursorShape: dragHandler.active ? Qt.ClosedHandCursor : Qt.ArrowCursor
}
}
WindowHeap {
@ -674,6 +668,14 @@ FocusScope {
}
}
}
MouseArea {
anchors.fill: parent
z: -1
acceptedButtons: Qt.NoButton
cursorShape: dragHandler.active ? Qt.ClosedHandCursor : Qt.ArrowCursor
}
onActivated: effect.deactivate()
}
TapHandler {