Convert QFontMetrics depreciated width to horizontalAdvance
This change matches what Qt was doing behind the scenes. int QFontMetrics::width(QChar ch) const { return horizontalAdvance(ch); } int QFontMetrics::width(const QString &text, int len) const { return horizontalAdvance(text, len); } Tested with varies files in the konsole/tests folder.
parent
5c793cb0
Please register or sign in to comment