Commit 1a887919 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Remove usage of QApplication::globalStrut

It's deprecated and usually empty anyway
parent b478528c
......@@ -423,7 +423,7 @@ QSize KGradientButton::sizeHint() const
{
QStyleOptionButton opt;
initStyleOption(&opt);
return style()->sizeFromContents(QStyle::CT_PushButton, &opt, QSize(40, 15), this).expandedTo(QApplication::globalStrut());
return style()->sizeFromContents(QStyle::CT_PushButton, &opt, QSize(40, 15), this);
}
void KGradientButton::setGradient(const QGradient &gradient)
......
Supports Markdown
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