Fix build with Qt 5.9

Authored by wbauer on Jul 12 2019, 2:10 PM.

Description

Fix build with Qt 5.9

QFontMetrics::horizontalAdvance() only exists since Qt 5.11.
So switch back to QFontMetrics::width() when building with lower
versions.

BUG: 409737
Differential Revision: https://phabricator.kde.org/D22412

Details

Committed
wbauerJul 12 2019, 2:10 PM
Differential Revision
D22412: Fix build with Qt 5.9
Parents
R220:a5657ecba9fd: Update appdata.xml
Branches
Unknown
Tags
Unknown