summaryrefslogtreecommitdiffstats
path: root/src/network/ssl/qsslcertificate_qt.cpp
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dedietrich@qt.io>2017-05-19 14:27:07 -0700
committerGabriel de Dietrich <gabriel.dedietrich@qt.io>2017-07-10 17:38:42 +0000
commitbdb1a5b28384e6aa8b228915cba82c6102a0129c (patch)
tree721d417ee5fbbcfec022adf93d9fb261c633fef7 /src/network/ssl/qsslcertificate_qt.cpp
parentaaf227e29913ed9ce7497522546b4e7bc48dcf6d (diff)
QMacStyle: Simplify logic for SC_GroupBoxLabel rectangle
This removes the single occurrence of HIThemeGetTextDimensions. Since we have access to the actual platform font through QPlatformTheme::font(), it's possible to use QFontMetricsF instead. We also cache small and mini system fonts to be reused in other places. Change-Id: I799c61eef0a2a6880a1c51aa7d3105c7e5b0ed4f Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/network/ssl/qsslcertificate_qt.cpp')
0 files changed, 0 insertions, 0 deletions