D7204: Use cached version isDir()

David Edmundson noreply at phabricator.kde.org
Tue Aug 8 10:52:20 UTC 2017


davidedmundson created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  Micro-optimisation.
  
  model.isDir() does a full stat of a file.
  We hover a lot, may as well use a cached version of the variable.
  
  CCBUG: 379994

REPOSITORY
  R119 Plasma Desktop

BRANCH
  master

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

AFFECTED FILES
  containments/desktop/package/contents/ui/FolderItemDelegate.qml

To: davidedmundson
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170808/561be3fa/attachment.html>


More information about the Plasma-devel mailing list