Fix build after deprecated QFontMetrics::width()

Authored by carewolf on Mar 7 2018, 10:56 AM.

Description

Fix build after deprecated QFontMetrics::width()

Summary: It was deprecated for not reporting the actual width but horizontal advance. Use the actual bounding width instead and don't claim to support future deprecations.

Reviewers: mlaurent

Reviewed By: mlaurent

Subscribers: KDE PIM

Tags: KDE PIM

Differential Revision: https://phabricator.kde.org/D11113

Details

Committed
carewolfMar 10 2018, 11:40 AM
Reviewer
mlaurent
Differential Revision
D11113: Fix build after deprecated QFontMetrics::width()
Parents
R459:860e908acb77: Remove duplicate category file
Branches
Unknown
Tags
Unknown
References
Applications/17.12