Skip to content

Commit 08c6c68

Browse files
committed
fix: Staging notifications cannot disappear after timeout
as title Log: as title Pms: BUG-303331
1 parent 21d7f95 commit 08c6c68

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

panels/notification/bubble/bubblepanel.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,6 @@ void BubblePanel::closeBubble(qint64 id)
140140

141141
if (id > 0) {
142142
m_bubbles->removeById(id);
143-
} else {
144-
qWarning(notifyLog) << "Can't remove bubble:" << id;
145143
}
146144
}
147145

panels/notification/center/notifystagingmodel.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,10 +309,6 @@ void NotifyStagingModel::doEntityReceived(qint64 id)
309309

310310
void NotifyStagingModel::onEntityClosed(qint64 id)
311311
{
312-
auto entity = m_accessor->fetchEntity(id);
313-
if (!entity.isValid())
314-
return;
315-
id = entity.bubbleId();
316312
remove(id);
317313
}
318314

0 commit comments

Comments
 (0)