diff --git a/applets/systemtray/package/contents/applet/CompactApplet.qml b/applets/systemtray/package/contents/applet/CompactApplet.qml --- a/applets/systemtray/package/contents/applet/CompactApplet.qml +++ b/applets/systemtray/package/contents/applet/CompactApplet.qml @@ -44,7 +44,9 @@ Connections { target: plasmoid - onContextualActionsAboutToShow: appletRoot.hideToolTip() + function onContextualActionsAboutToShow() { + appletRoot.hideToolTip() + } } Layout.minimumWidth: { diff --git a/applets/systemtray/package/contents/ui/items/PlasmoidItem.qml b/applets/systemtray/package/contents/ui/items/PlasmoidItem.qml --- a/applets/systemtray/package/contents/ui/items/PlasmoidItem.qml +++ b/applets/systemtray/package/contents/ui/items/PlasmoidItem.qml @@ -70,9 +70,11 @@ Connections { target: applet - onActivated: plasmoidContainer.activated() + function onActivated() { + plasmoidContainer.activated() + } - onExpandedChanged: { + function onExpandedChanged(expanded) { if (expanded) { var oldApplet = root.activeApplet; root.activeApplet = applet; @@ -91,7 +93,7 @@ } } - onFullRepresentationItemChanged: { + function onFullRepresentationItemChanged(fullRepresentationItem) { preloadFullRepresentationItem(fullRepresentationItem) } } diff --git a/applets/systemtray/package/contents/ui/main.qml b/applets/systemtray/package/contents/ui/main.qml --- a/applets/systemtray/package/contents/ui/main.qml +++ b/applets/systemtray/package/contents/ui/main.qml @@ -78,17 +78,19 @@ Connections { target: plasmoid - onUserConfiguringChanged: { - if (plasmoid.userConfiguring) { + function onUserConfiguringChanged(userConfiguring) { + if (userConfiguring) { dialog.visible = false } } } Connections { target: plasmoid.configuration - onExtraItemsChanged: plasmoid.nativeInterface.allowedPlasmoids = plasmoid.configuration.extraItems + function onExtraItemsChanged(extraItems) { + plasmoid.nativeInterface.allowedPlasmoids = extraItems + } } CurrentItemHighLight {