Introduce Units singleton

Authored by broulik on Jan 8 2017, 3:00 PM.

Description

Introduce Units singleton

Every single (Frame)SvgItem would creates its own Units instance which in turn would
create a property map for icon sizes and lots of other stuff. Avoid this.

CHANGELOG: There is now a global "Units" instance reducing memory consumption and creation time of SVG items

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

Details

Committed
broulikJan 8 2017, 3:00 PM
Differential Revision
D4012: Introduce Units singleton
Parents
R242:d46a91ea57f1: [Icon Item] Support non-square icons
Branches
Unknown
Tags
Unknown