Drop usage of deprecated QApplication::globalStrut()

GIT_SILENT
parent 1cfcd90d
......@@ -119,8 +119,7 @@ QSize IdealToolButton::minimumSizeHint() const
minimumSize = fm.size(Qt::TextShowMnemonic, opt.text.left(4));
}
minimumSize = style()->sizeFromContents(QStyle::CT_ToolButton, &opt, minimumSize, this).
expandedTo(QApplication::globalStrut());
minimumSize = style()->sizeFromContents(QStyle::CT_ToolButton, &opt, minimumSize, this);
if (_area == Qt::TopDockWidgetArea || _area == Qt::BottomDockWidgetArea) {
return minimumSize;
......
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