Skip to content
Commit a4ff4ce8 authored by David Faure's avatar David Faure
Browse files

Properly clean up scopes when deregistering a subscriber.

Summary:
It was done "by hand", for only a few setters; use apply() to do this
consistently for all of them.

New unittest notificationmanagertest
This requires adding a special mode for unittests in AkThread, to be
able to call methods in NotificationManager from the main thread.

Test Plan: bin/notificationmanagertest

Reviewers: dvratil

Subscribers: kde-pim

Differential Revision: https://phabricator.kde.org/D18672
parent 87a155b8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment