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:
parent
956451111c
commit
b02190bf23
1 changed files with 8 additions and 6 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue