From 82935d92367666ef1e4bfb65df81bb08968b2a13 Mon Sep 17 00:00:00 2001 From: ferrreo Date: Sun, 3 Aug 2025 16:24:27 +0100 Subject: [PATCH] Fix :void as it is not valid QML --- Widgets/Notification/NotificationIcon.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Widgets/Notification/NotificationIcon.qml b/Widgets/Notification/NotificationIcon.qml index 04d37f2..429fd1b 100644 --- a/Widgets/Notification/NotificationIcon.qml +++ b/Widgets/Notification/NotificationIcon.qml @@ -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 } -} \ No newline at end of file +}