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
KWin
Commits
bbe886a0
Commit
bbe886a0
authored
May 10, 2022
by
Aleix Pol Gonzalez
🐧
Committed by
Aleix Pol Gonzalez
May 10, 2022
Browse files
ScreenEdge: fix double look-up
parent
9c41ec46
Pipeline
#174384
passed with stage
in 32 minutes and 56 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/screenedge.cpp
View file @
bbe886a0
...
...
@@ -212,8 +212,7 @@ void Edge::unreserve()
}
void
Edge
::
unreserve
(
QObject
*
object
)
{
if
(
m_callBacks
.
contains
(
object
))
{
m_callBacks
.
remove
(
object
);
if
(
m_callBacks
.
remove
(
object
)
>
0
)
{
disconnect
(
object
,
&
QObject
::
destroyed
,
this
,
qOverload
<
QObject
*>
(
&
Edge
::
unreserve
));
unreserve
();
}
...
...
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