Skip to content
Commit 8c9435f0 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Avoid needlessly reading font settings

Currently we call syncFonts every time a platformtheme is created and updated, which is way too often.

It is all global data, i.e. not specific to the concrete platformtheme instance, so move it to the style singleton.

Also only read the settings for smallFont when fonts were actually changed.
parent 7465c60b
Pipeline #134444 passed with stage
in 51 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment