D18612: Cache the default KColorScheme configuration

Kai Uwe Broulik noreply at phabricator.kde.org
Fri Feb 1 08:05:49 GMT 2019


broulik added a comment.


  I also noticed that on application startup two default color schemes are created: One by plasma-integration set on `QApplication` and the other by `QStyle::standardPalette()` in the widget style.
  I couldn't figure out a way to avoid this (have QStyle use the default app palette set by p-i or something without dirty hacks like using dynamic properties to communicate that we already have created the proper palette elsewhere). Perhaps this is something you could also profile/investigate :)

REPOSITORY
  R265 KConfigWidgets

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

To: mwolff, #kate, #kdevelop, dfaure
Cc: broulik, kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190201/9608481d/attachment.html>


More information about the Kde-frameworks-devel mailing list