Commit c44c4ae2 authored by Tomaz  Canabrava's avatar Tomaz Canabrava

sidedockwidget: get rid of depreccated method

parent 97b2d5c6
Pipeline #7533 passed with stage
in 7 minutes and 14 seconds
......@@ -62,7 +62,7 @@ QSize SideToolButton::sizeHint() const
QFontMetrics fm = fontMetrics();
// calculate example character width
const int charWidth = fm.width(QLatin1Char('x'));
const int charWidth = fm.horizontalAdvance(QLatin1Char('x'));
// compute text size
QSize textSize;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment