Fix :void as it is not valid QML

This commit is contained in:
ferrreo 2025-08-03 16:24:27 +01:00 committed by GitHub
parent e2908c88e0
commit 82935d9236
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,7 +34,7 @@ Item {
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
acceptedButtons: Qt.LeftButton | Qt.RightButton
onClicked: function(mouse): void {
onClicked: function(mouse) {
if (mouse.button === Qt.RightButton) {
root.isSilence = !root.isSilence;
rightClickProcess.running = true;
@ -60,4 +60,4 @@ Item {
targetItem: bell
delay: 200
}
}
}