Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
KmPlot
Commits
1a887919
Commit
1a887919
authored
Oct 17, 2022
by
Nicolas Fella
Browse files
Remove usage of QApplication::globalStrut
It's deprecated and usually empty anyway
parent
b478528c
Changes
1
Hide whitespace changes
Inline
Side-by-side
kmplot/kgradientdialog.cpp
View file @
1a887919
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment