https://bugs.kde.org/show_bug.cgi?id=511645

David Edmundson <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |CONFIRMED
                 CC|                            |[email protected]
     Ever confirmed|0                           |1
           Priority|NOR                         |HI

--- Comment #1 from David Edmundson <[email protected]> ---
I see it:

GlobalNotifierTruck.cpp

    connect(detailsAction, &KNotificationAction::activated, notification,
[this, unit]() {
        auto job = new KIO::CommandLauncherJob(u"drkonqi-coredump-gui"_s,
{unit.m_cursor}, this);
        job->exec();
    });

---

but knotification code is:

void KNotificationManager::notificationActivated(int id, const QString
&actionId)
{
    if (d->notifications.contains(id)) {
        qCDebug(LOG_KNOTIFICATIONS) << id << " " << actionId;
        KNotification *n = d->notifications[id];
        n->activate(actionId);

        // Resident actions delegate control over notification lifetime to the
client
        if (!n->hints().value(QStringLiteral("resident")).toBool()) {
            close(id);
        }
    }
}


So we go into application code then do something with 'n' (the notification).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to