Restore compatibility with Qt < 5.11
ClosedPublic

Authored by mglb on Jun 16 2019, 9:18 AM.

Details

Summary

Use QFontMetrics::Width() instead of QFontMetrics::horizontalAdvance().

Diff Detail

Repository
R319 Konsole
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
mglb created this revision.Jun 16 2019, 9:18 AM
Restricted Application added a subscriber: konsole-devel. · View Herald TranscriptJun 16 2019, 9:18 AM
mglb requested review of this revision.Jun 16 2019, 9:18 AM
This revision was not accepted when it landed; it landed in state Needs Review.Jun 16 2019, 12:46 PM
This revision was automatically updated to reflect the committed changes.