message: qt: Replace QFontMetrics::width() with TextWidth()
diff: @@ -947,7 +947,7 @@ void PolishProgressDialog(QProgressDialog* dialog)
  {
  #ifdef Q_OS_MAC
  // Workaround for macOS-only Qt bug; see: QTBUG-65750, QTBUG-70357.
  - const int margin = dialog->fontMetrics().width("X");
  + const int margin = TextWidth(dialog->fontMetrics(), ("X"));
  dialog->resize(dialog->width() + 2 * margin, dialog->height());
  dialog->show();
  #else
  