summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qcombobox.cpp
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2015-05-14 02:47:21 +0400
committerKonstantin Ritt <ritt.ks@gmail.com>2015-11-05 20:53:33 +0000
commitcd0a1251232baf17fdfa002d2299305d5613063c (patch)
tree869d1c014bbf6ef66de8963682dd38d6cba3c873 /src/widgets/widgets/qcombobox.cpp
parent110a8c339fa078a4edd09a70239280e482b149f1 (diff)
Minor optimization to QWidgetPrivate::naturalWidgetFont()
When inheritedMask is 0, the font inherits just everything; in this case `inheritedFont.resolve(baseFont)` could be replaced with `baseFont`. Change-Id: Ic3ed8ef174493544ada32037e7bdded46eb4bd43 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
Diffstat (limited to 'src/widgets/widgets/qcombobox.cpp')
0 files changed, 0 insertions, 0 deletions