apol created this revision.
apol added a reviewer: mart.
Restricted Application added a project: Kirigami.
Restricted Application added a subscriber: plasma-devel.
apol requested review of this revision.

REVISION SUMMARY
  For every setBrush/setColor we're initialising a new QBrush instance that
  allocates some space in memory. At the moment we were creating and destroying
  QBrush instances like crazy, this check aloen saves 23K calls only starting
  Discover.

TEST PLAN
  Tried with Discover, KAlgebra and Kirgami Gallery

REPOSITORY
  R169 Kirigami

BRANCH
  master

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

AFFECTED FILES
  src/libkirigami/platformtheme.cpp

To: apol, mart
Cc: plasma-devel, apol, davidedmundson, mart, hein

Reply via email to