Change QFontMetrics:width to QFontMetrics::horizontalAdvance
Change QFontMetrics:width to QFontMetrics::horizontalAdvance

- Qt deprecated QFontMetrics::width starting with Qt 5.11

JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio