Fix :void as it is not valid QML
This commit is contained in:
parent
e2908c88e0
commit
82935d9236
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue