diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-05-02 12:53:42 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-05-03 19:22:59 +0000 |
commit | 835c3e94f6089751421a19008d442faec9649ed8 (patch) | |
tree | b5aa6874f2b34936060acc536543de8f50d2ea56 /src/widgets/util/qscroller.cpp | |
parent | ff447717a28392c3b1c103a8ec0d6e2fdcc9cee2 (diff) |
Only call addFontToDatabase once per family,style
We get a call to storeFont for each supported script-type of
a font, but we use the font signature to register all the supported
types at once, and can thus save ~3/4 calls to addFontToDatabase.
Change-Id: I9d06252fb7f805e7babac58d82fa412ec4e0e36a
Fixes: QTBUG-59360
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/widgets/util/qscroller.cpp')
0 files changed, 0 insertions, 0 deletions