From 08fd50931bddce61260226c7915feb8903feecf1 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Sun, 14 Apr 2019 19:08:25 +0200 Subject: [PATCH] Don't show multiple windows when replying to a notification --- plugins/notifications/notification.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/notifications/notification.cpp b/plugins/notifications/notification.cpp index 97d1cb894..ce60c3d64 100644 --- a/plugins/notifications/notification.cpp +++ b/plugins/notifications/notification.cpp @@ -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);