Commit efe4b603 authored by Konrad Materka's avatar Konrad Materka

[applets/systemtray] Fix value read in some onXyxChanged connections

Summary: Some `onXyzChanged` signals do not send value - fix connection to use value directly from the sender.

Test Plan: Disable or enable plasmoid in System Tray setting - it should work correctly.

Reviewers: #plasma_workspaces, #plasma, ngraham, apol, broulik, davidedmundson

Reviewed By: apol

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D29356
parent 3a8c7406
......@@ -78,8 +78,8 @@ MouseArea {
Connections {
target: plasmoid
function onUserConfiguringChanged(userConfiguring) {
if (userConfiguring) {
function onUserConfiguringChanged() {
if (plasmoid.userConfiguring) {
dialog.visible = false
}
}
......@@ -88,8 +88,8 @@ MouseArea {
Connections {
target: plasmoid.configuration
function onExtraItemsChanged(extraItems) {
plasmoid.nativeInterface.allowedPlasmoids = extraItems
function onExtraItemsChanged() {
plasmoid.nativeInterface.allowedPlasmoids = plasmoid.configuration.extraItems
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment