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

Authored by kmaterka on May 2 2020, 9:08 AM.

Details

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.

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kmaterka created this revision.May 2 2020, 9:08 AM
Restricted Application added a project: Plasma. · View Herald TranscriptMay 2 2020, 9:08 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
kmaterka requested review of this revision.May 2 2020, 9:08 AM

Fix exctracted from D29344, to make things clear - one commit, one change.

applets/systemtray/package/contents/ui/main.qml
81–82

Plasma::Applet::userConfiguringChanged sends value, but Plasma::AppletInterface::userConfiguringChanged does not (signal has no parameters).

91–92

I'm pretty sure this worked before... Maybe something changed in QQmlPropertyMap in Qt 5.14?

apol accepted this revision.May 3 2020, 2:48 PM
This revision is now accepted and ready to land.May 3 2020, 2:48 PM
This revision was automatically updated to reflect the committed changes.