Don't show multiple windows when replying to a notification
This commit is contained in:
parent
3cb491041a
commit
08fd50931b
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ KNotification* Notification::createKNotification(bool update, const NetworkPacke
|
|||
|
||||
if (!m_requestReplyId.isEmpty()) {
|
||||
m_notification->setActions(QStringList(i18n("Reply")));
|
||||
connect(m_notification, &KNotification::action1Activated, this, &Notification::reply);
|
||||
connect(m_notification, &KNotification::action1Activated, this, &Notification::reply, Qt::UniqueConnection);
|
||||
}
|
||||
|
||||
connect(m_notification, &KNotification::closed, this, &Notification::closed);
|
||||
|
|
Loading…
Reference in a new issue