D12870: [SourcesModel] Check changed file name before reloading configuration

Kai Uwe Broulik noreply at phabricator.kde.org
Mon May 14 11:12:16 UTC 2018


broulik created this revision.
broulik added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
broulik requested review of this revision.

REVISION SUMMARY
  Avoid needlessly reloading configuration if something completely unrelated, such as plasma appletsrc, changed.

TEST PLAN
  - Disabled a runner, codepath was executed and runner was no longer queried. Enabled a runner, it was queried again.
  - No longer needlessly reparses krunnerrc on plasmashell startup

REPOSITORY
  R112 Milou

REVISION DETAIL
  https://phabricator.kde.org/D12870

AFFECTED FILES
  lib/sourcesmodel.cpp
  lib/sourcesmodel.h

To: broulik, #plasma
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180514/cd6f83a3/attachment-0001.html>


More information about the Plasma-devel mailing list