summaryrefslogtreecommitdiffstats
path: root/examples/widgets
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@viroteck.net>2015-02-13 21:56:33 +0100
committerKonstantin Ritt <ritt.ks@gmail.com>2015-02-15 03:49:33 +0000
commit5a23fcfa8a303d6bd796b35d9a914a2ca4005f99 (patch)
tree381e0c465e05409ba2956dbee2b32239abcc0dad /examples/widgets
parent071b28675606633f41c58edcc27c0b514e9d6c33 (diff)
QFontDatabase: Optimize QtFontStyle::Key::Key().
Similar to 46b2c74eaf95fc607518988c7958574c7f70f5ae, skip the translations at all costs. They allocate, and are very expensive. To ensure we try harder to skip them, also avoid checking styles at all unless one has been provided. This increases delegates_text from 209 items to 221 items for me. Change-Id: Ia18b07de7b48cee356e9506a0c5d7129621d79d2 Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Diffstat (limited to 'examples/widgets')
0 files changed, 0 insertions, 0 deletions