notifications: Fix actions on kf6
We'd be adding them over and over when reusing them.
This commit is contained in:
parent
92006080d2
commit
d7f09103a2
1 changed files with 1 additions and 0 deletions
|
@ -121,6 +121,7 @@ void Notification::createKNotification(const NetworkPacket &np)
|
|||
}
|
||||
|
||||
#if QT_VERSION_MAJOR == 6
|
||||
m_notification->clearActions();
|
||||
for (const QString &actionId : std::as_const(m_actions)) {
|
||||
KNotificationAction *action = m_notification->addAction(actionId);
|
||||
|
||||
|
|
Loading…
Reference in a new issue