D7917: [TasksModel] Use std::acumulate on the QHash directly

Kai Uwe Broulik noreply at phabricator.kde.org
Thu Sep 21 15:03:10 UTC 2017


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

REVISION SUMMARY
  `begin()` and `end()` operate on the hash values.
  This avoids creating a temporary list just for this.

TEST PLAN
  `sumScore` values still look similar

REPOSITORY
  R120 Plasma Workspace

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

AFFECTED FILES
  libtaskmanager/tasksmodel.cpp

To: broulik, #plasma, hein
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170921/47aac836/attachment.html>


More information about the Plasma-devel mailing list