Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Plasma
Plasma Workspace
Commits
61259401
Commit
61259401
authored
Jan 15, 2021
by
Vlad Zahorodnii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
shell/panelshadows.cpp
shell/panelshadows.cpp
+1
-0
No files found.
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
Markdown
is supported
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