Commit 1db72e26 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make it compile against qt5.15 QApplication::globalStrut() is deprecated

parent 3530fa10
......@@ -318,7 +318,7 @@ int TabWidget::Private::tabBarWidthForMaxChars(int maxLength)
).width() + 4;
x += (q->tabBar()->style()->sizeFromContents(QStyle::CT_TabBarTab, &o,
QSize(qMax(lw + hframe + iw, QApplication::globalStrut().width()), 0), q)).width();
QSize(lw + hframe + iw, 0), q)).width();
}
return x;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment