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
KWin
Commits
35fe4fa7
Commit
35fe4fa7
authored
Nov 09, 2020
by
Aleix Pol Gonzalez
🐧
Committed by
Aleix Pol Gonzalez
Nov 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
startupfeedback: Properly check if a vector is empty
parent
e398a7cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
effects/startupfeedback/startupfeedback.cpp
effects/startupfeedback/startupfeedback.cpp
+1
-1
No files found.
effects/startupfeedback/startupfeedback.cpp
View file @
35fe4fa7
...
...
@@ -250,7 +250,7 @@ void StartupFeedbackEffect::gotRemoveStartup(const KStartupInfoId& id, const KSt
{
Q_UNUSED
(
data
)
m_startups
.
remove
(
id
);
if
(
m_startups
.
count
()
==
0
)
{
if
(
m_startups
.
isEmpty
()
)
{
m_currentStartup
=
KStartupInfoId
();
// null
stop
();
return
;
...
...
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