diff --git a/panels/notification/center/notifystagingmodel.cpp b/panels/notification/center/notifystagingmodel.cpp index 620952267..eb3aba686 100644 --- a/panels/notification/center/notifystagingmodel.cpp +++ b/panels/notification/center/notifystagingmodel.cpp @@ -309,10 +309,6 @@ void NotifyStagingModel::doEntityReceived(qint64 id) void NotifyStagingModel::onEntityClosed(qint64 id) { - auto entity = m_accessor->fetchEntity(id); - if (!entity.isValid()) - return; - id = entity.bubbleId(); remove(id); }