[KTextEditor] Port away from deprecated QFontMetrics::width
ClosedPublic

Authored by dfaure on Sep 15 2019, 1:02 PM.

Details

Summary

Tried to choose horizontalAdvance() or boudingRect().width() correctly,
but it's sometimes hard to be 100% sure which one should be used.

Test Plan

Builds

Diff Detail

Branch
port_width
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 16576
Build 16594: arc lint + arc unit
dfaure requested review of this revision.Sep 15 2019, 1:02 PM
dfaure created this revision.
dhaumann accepted this revision.Sep 15 2019, 4:47 PM
This revision is now accepted and ready to land.Sep 15 2019, 4:47 PM
dfaure closed this revision.Sep 15 2019, 6:41 PM