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

Authored by broulik on Sep 25 2017, 12:29 PM.

Description

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

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

Differential Revision: https://phabricator.kde.org/D7917

Details

Committed
broulikSep 25 2017, 12:29 PM
Differential Revision
D7917: [TasksModel] Use std::acumulate on the QHash directly
Parents
R120:68cfef732d00: remove extra executable bits
Branches
Unknown
Tags
Unknown