widgets/krunner: add ability to close the widget with a tap on an empty area

This commit is contained in:
Yari Polla 2022-07-13 20:04:15 +02:00 committed by Devin Lin
parent 204482f47b
commit b8bdcdd825

View file

@ -177,7 +177,6 @@ Item {
NumberAnimation { duration: PlasmaCore.Units.shortDuration }
}
Layout.fillHeight: true
Layout.fillWidth: true
Milou.ResultsListView {
@ -283,6 +282,13 @@ Item {
}
}
}
MouseArea {
Layout.fillWidth: true
Layout.fillHeight: true
onClicked: close()
}
}
}
}