summaryrefslogtreecommitdiffstats
path: root/src/corelib/global
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2018-12-14 07:46:12 +0100
committerAndy Shaw <andy.shaw@qt.io>2018-12-21 13:26:08 +0000
commitc879fc2ab7c5278f1a1f7727b011479a5baafc0c (patch)
treebe1a1d70a8c12f97a0d9628d81d6e268d5323ed6 /src/corelib/global
parent4aac07d0237cd4895f670ae2df6a8844ab91b699 (diff)
Pass the alignment to QFontMetrics::elidedText()
When the text is elided, it needs to account for the mnenomic if there is one so it does not end up eliding the text unnecessarily. Change-Id: I77c15067f3e8d57d8deca83090bcb80554c3733f Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de> Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/corelib/global')
0 files changed, 0 insertions, 0 deletions