Remove kde connect context menu entries when host dies
ClosedPublic

Authored by broulik on May 6 2019, 7:58 AM.

Details

Summary

They don't work without a host and up on (re)starting we get a deviceAdded signal for every device leading to duplicate menu id errors.

Test Plan

killed plasma-browser-integration-host process, didn't get a warning about duplicate ids on extension console anymore
Disabling and enabling kde connect integration properly adds and removes the entries

Diff Detail

Repository
R856 Plasma Browser Integration
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.May 6 2019, 7:58 AM
Restricted Application added a project: Plasma. · View Herald TranscriptMay 6 2019, 7:58 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik requested review of this revision.May 6 2019, 7:58 AM
fvogt accepted this revision.May 7 2019, 7:34 AM
This revision is now accepted and ready to land.May 7 2019, 7:34 AM
This revision was automatically updated to reflect the committed changes.