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
Plasma
Plasma Breeze visual style
Commits
020cfd14
Commit
020cfd14
authored
Jan 01, 2021
by
Jan Blackquill
🌈
Browse files
[kstyle] Don't adjust menu corner radii by -1
parent
923883a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
kstyle/breezehelper.cpp
View file @
020cfd14
...
...
@@ -482,7 +482,7 @@ namespace Breeze
QRectF
copy
(
strokedRect
(
rect
)
);
const
qreal
radius
(
frameRadius
(
PenWidth
::
Frame
,
-
1
)
);
const
qreal
radius
(
frameRadius
(
PenWidth
::
Frame
)
);
if
(
!
(
sides
&
SideTop
)
)
copy
.
adjust
(
0
,
-
radius
,
0
,
0
);
if
(
!
(
sides
&
SideBottom
)
)
copy
.
adjust
(
0
,
0
,
0
,
radius
);
if
(
!
(
sides
&
SideLeft
)
)
copy
.
adjust
(
-
radius
,
0
,
0
,
0
);
...
...
@@ -621,7 +621,7 @@ namespace Breeze
painter
->
setRenderHint
(
QPainter
::
Antialiasing
);
QRectF
frameRect
(
rect
);
qreal
radius
(
frameRadius
(
PenWidth
::
NoPen
,
-
1
)
);
qreal
radius
(
frameRadius
(
PenWidth
::
NoPen
)
);
// set pen
if
(
outline
.
isValid
()
)
...
...
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