Use plasmoid.icon instead of Logic.icon()
ClosedPublic

Authored by broulik on Feb 8 2018, 9:52 PM.

Details

Summary

Avoid creating an instance of logic.js which is not a singleton.

Test Plan

Bluetooth icon still reflects connected/disconnected state, busy indicator also worked

Diff Detail

Repository
R97 Bluedevil
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Feb 8 2018, 9:52 PM
Restricted Application added a project: Plasma. · View Herald TranscriptFeb 8 2018, 9:52 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik requested review of this revision.Feb 8 2018, 9:52 PM
drosca accepted this revision.Feb 9 2018, 7:31 AM
This revision is now accepted and ready to land.Feb 9 2018, 7:31 AM
This revision was automatically updated to reflect the committed changes.