- if(!_notificationIds.count())
- QtUi::mainWindow()->systemTray()->setAlert(false);
-
-}
-
-void KNotificationBackend::notificationClosed() {
- KNotification *n = qobject_cast<KNotification *>(sender());
- if(n && _notificationIds.contains(n))
- _notificationIds.remove(n);