diff --git a/src/plugins/backends/osxnotificationcenter/osxnotificationcenter.h b/src/plugins/backends/osxnotificationcenter/osxnotificationcenter.h index 7f12e5c..d3d5bd4 100644 --- a/src/plugins/backends/osxnotificationcenter/osxnotificationcenter.h +++ b/src/plugins/backends/osxnotificationcenter/osxnotificationcenter.h @@ -32,8 +32,10 @@ public: ~OSXNotificationCenter(); public Q_SLOTS: - void slotInitialize() override; void slotNotify(Snore::Notification notification) override; + +private Q_SLOTS: + void load() override; }; #endif // OSXNOTIFICATIONCENTER_H diff --git a/src/plugins/backends/osxnotificationcenter/osxnotificationcenter.mm b/src/plugins/backends/osxnotificationcenter/osxnotificationcenter.mm index 505f9f6..38e5e48 100644 --- a/src/plugins/backends/osxnotificationcenter/osxnotificationcenter.mm +++ b/src/plugins/backends/osxnotificationcenter/osxnotificationcenter.mm @@ -107,3 +107,9 @@ void OSXNotificationCenter::slotNotify(Snore::Notification notification) slotNotificationDisplayed(notification); } +void OSXNotificationCenter::load() +{ + emit loadedStateChanged(true); +} + +