startupfeedback: Properly check if a vector is empty
This commit is contained in:
parent
e398a7cd1a
commit
35fe4fa7c1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue