Skip to content
GitLab
Menu
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
6849f42a
Commit
6849f42a
authored
Apr 27, 2021
by
Vlad Zahorodnii
Browse files
kstyle: Port away from WId-based KWindowEffects API
The WId-based API is deprecated in favor of QWindow-based API.
parent
0a63f481
Changes
1
Hide whitespace changes
Inline
Side-by-side
kstyle/breezeblurhelper.cpp
View file @
6849f42a
...
...
@@ -80,7 +80,8 @@ namespace Breeze
if
(
!
(
widget
->
testAttribute
(
Qt
::
WA_WState_Created
)
||
widget
->
internalWinId
()))
return
;
KWindowEffects
::
enableBlurBehind
(
widget
->
winId
(),
true
);
widget
->
winId
();
// force creation of the window handle
KWindowEffects
::
enableBlurBehind
(
widget
->
windowHandle
(),
true
);
// force update
if
(
widget
->
isVisible
())
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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