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
c5fd9772
Commit
c5fd9772
authored
Oct 12, 2020
by
Alexander Lohnau
💬
Browse files
Simplify killingCompleted check
parent
d414d969
Changes
1
Hide whitespace changes
Inline
Side-by-side
ksmserver/logout.cpp
View file @
c5fd9772
...
...
@@ -517,11 +517,7 @@ void KSMServer::completeKilling()
qCDebug
(
KSMSERVER
)
<<
"KSMServer::completeKilling clients.count()="
<<
clients
.
count
()
<<
endl
;
if
(
state
==
Killing
)
{
bool
wait
=
false
;
foreach
(
KSMClient
*
c
,
clients
)
{
wait
=
true
;
// still waiting for clients to go away
}
if
(
wait
)
if
(
!
clients
.
isEmpty
())
// still waiting for clients to go away
return
;
killingCompleted
();
}
...
...
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