From 932f21e9bbfefbd5e7aac6be3582ebda51fa0720 Mon Sep 17 00:00:00 2001 From: Black Hat Date: Sat, 20 Oct 2018 11:01:02 +0800 Subject: [PATCH] Fix Windows build. --- src/notifications/managerwin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }