D14077: [Folder View] Don't spawn multiple stat jobs for the same folder

Kai Uwe Broulik noreply at phabricator.kde.org
Thu Jul 12 13:01:40 BST 2018


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

REVISION SUMMARY
  Check for one already running before spawning a new one.
  Also move the check for the `isDirCache` in one.

TEST PLAN
  My .desktop files pointing to folders are still treated as folders
  Doesn't spawn a gazillion of identical jobs on startup anymore

REPOSITORY
  R119 Plasma Desktop

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

AFFECTED FILES
  containments/desktop/plugins/folder/foldermodel.cpp
  containments/desktop/plugins/folder/foldermodel.h

To: broulik, #plasma, hein
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/20180712/087cb8d0/attachment.html>


More information about the Plasma-devel mailing list