┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/kcm
diff options
context:
space:
mode:
authorIsmael Asensio <[email protected]>2020-07-12 21:28:02 +0000
committerElvis Angelaccio <[email protected]>2020-07-12 21:28:02 +0000
commit76a46fd9094b17eb99e8a42cca8562fdc0b3814c (patch)
tree43cf5dc93b9e72f47fcc00d38cec751caebd795a /src/settings/kcm
parent2fc117703f304ba053e2b58b692609f9632535d7 (diff)
Fix selection rect after porting from QFontMetrics::width()
After porting from QFontMetrics::width() to QFontMetrics::boundigRect().width() in system/dolphin!10 we have a visual bug on selection rects, that can be seen on details and compact modes. While from https://kdepepo.wordpress.com/2019/08/05/about-deprecation-of-qfontmetricswidth/ the use of `boundingRect()` would seem the right option to use (and I struggle to get the difference between the two methods when applied to a whole string and not a single char), in this case the `horizontalAdvance()` seems to return the value we need. BUG: 421973 FIXED-IN: 20.07.70
Diffstat (limited to 'src/settings/kcm')
0 files changed, 0 insertions, 0 deletions