diff --git a/src/notifications/managerwin.cpp b/src/notifications/managerwin.cpp index 852d2dd..27f019d 100644 --- a/src/notifications/managerwin.cpp +++ b/src/notifications/managerwin.cpp @@ -3,7 +3,7 @@ using namespace WinToastLib; -class CustomHandler : public IWinToastHandler { +class CustomHandler : public QObject, public IWinToastHandler { public: void toastActivated() { emit activated(notificationID); } void toastActivated(int) { emit activated(notificationID); }