Skip to content

Avoid creating a Theme object for every icon fetch

David Edmundson requested to merge work/theme_avoid into master

Plasma::Theme is a relatively heavy class, with multiple signals and connections. Internally it's effectively a singleon.

We do not want to create a new object for every pixmap request. We potentially have a lot of icons, and fetching pixmaps happens on every update.

Edited by David Edmundson

Merge request reports