forked from quickshell/quickshell
service/notifications: make notifications Retainable
This commit is contained in:
parent
609834d8f2
commit
e23923d9a2
3 changed files with 19 additions and 2 deletions
|
@ -105,7 +105,7 @@ void NotificationServer::deleteNotification(
|
|||
this->idMap.remove(notification->id());
|
||||
|
||||
emit this->NotificationClosed(notification->id(), reason);
|
||||
delete notification;
|
||||
notification->retainedDestroy();
|
||||
}
|
||||
|
||||
void NotificationServer::tryRegister() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue