[kioslave/remote] Fix broken kded module
ClosedPublic

Authored by elvisangelaccio on Feb 11 2017, 5:36 PM.

Details

Summary

Commit 72e39f083a10 broke the kded module. Turns out that the old code
just forced a refresh of the remote:/ QUrl, so we can just do that
explicitly and remove all the old cruft.

While at it, use a KDirWatcher that just watches the
.local/share/remote/ folder, instead of checking *every* unrelated
QUrl emitted by KDirNotify.

Test Plan

Adding/deleting/editing .desktop files in .local/share/remoteview now
automatically reloads the remote:/ url in Dolphin or Folder View.

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.
elvisangelaccio retitled this revision from to [kioslave/remote] Fix broken kded module.
elvisangelaccio updated this object.
elvisangelaccio edited the test plan for this revision. (Show Details)
elvisangelaccio added a reviewer: Plasma.
Restricted Application added a project: Plasma. · View Herald TranscriptFeb 11 2017, 5:36 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
mart accepted this revision.Feb 20 2017, 12:02 PM
This revision is now accepted and ready to land.Feb 20 2017, 12:02 PM
This revision was automatically updated to reflect the committed changes.