[kded] Clean up notification handling

Authored by nicolasfella on Apr 8 2020, 10:38 PM.

Description

[kded] Clean up notification handling

Summary:
Remove calls to deleteLater(), KNotification objects delete themselves after they timed out.
Remove unnecessary parent assignments.
Remove unnecessary id check before storing, this was introduced in a19794a3e as a supposed crash fix, but I doubt it actually fixes anything.

Test Plan: Spawned some connection (de)activated and error notifications

Reviewers: jgrulich, Plasma, broulik

Reviewed By: jgrulich

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D28691

Details

Committed
nicolasfellaApr 9 2020, 12:18 PM
Reviewer
jgrulich
Differential Revision
D28691: [kded] Clean up notification handling
Parents
R116:285b559393b9: Revert "Port some deprecated signal (qt5.15)"
Branches
Unknown
Tags
Unknown