Fix Windows build.

This commit is contained in:
Black Hat 2018-10-20 11:01:02 +08:00
parent e889258565
commit 932f21e9bb
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
using namespace WinToastLib; using namespace WinToastLib;
class CustomHandler : public IWinToastHandler { class CustomHandler : public QObject, public IWinToastHandler {
public: public:
void toastActivated() { emit activated(notificationID); } void toastActivated() { emit activated(notificationID); }
void toastActivated(int) { emit activated(notificationID); } void toastActivated(int) { emit activated(notificationID); }