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
|
hoverEnabled: true
|
||||||
cursorShape: Qt.PointingHandCursor
|
cursorShape: Qt.PointingHandCursor
|
||||||
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
||||||
onClicked: function(mouse): void {
|
onClicked: function(mouse) {
|
||||||
if (mouse.button === Qt.RightButton) {
|
if (mouse.button === Qt.RightButton) {
|
||||||
root.isSilence = !root.isSilence;
|
root.isSilence = !root.isSilence;
|
||||||
rightClickProcess.running = true;
|
rightClickProcess.running = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue