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 Workspace
Commits
61259401
Commit
61259401
authored
Jan 15, 2021
by
Vlad Zahorodnii
Browse files
Clear the shadow when the associated window is destroyed
This ensures that there are no shadows during teardown.
parent
541c81dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
shell/panelshadows.cpp
View file @
61259401
...
...
@@ -90,6 +90,7 @@ void PanelShadows::addWindow(QWindow *window, Plasma::FrameSvg::EnabledBorders e
d
->
updateShadow
(
window
,
enabledBorders
);
connect
(
window
,
&
QObject
::
destroyed
,
this
,
[
this
,
window
]()
{
d
->
m_windows
.
remove
(
window
);
d
->
clearShadow
(
window
);
if
(
d
->
m_windows
.
isEmpty
())
{
d
->
clearTiles
();
}
...
...
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