From 9d54904e4896ab6c3c3a52f97381e5948b455970 Mon Sep 17 00:00:00 2001 From: Pedro Pombeiro Date: Thu, 15 Nov 2018 07:05:38 +0100 Subject: [PATCH] Add missing `WindowsToast::setDockBadgeLabel()` --- src/plugins/backends/snoretoast/snoretoast.cpp | 5 +++++ src/plugins/backends/snoretoast/snoretoast.h | 1 + 2 files changed, 6 insertions(+) diff --git a/src/plugins/backends/snoretoast/snoretoast.cpp b/src/plugins/backends/snoretoast/snoretoast.cpp index 5a1eee3..b812388 100644 --- a/src/plugins/backends/snoretoast/snoretoast.cpp +++ b/src/plugins/backends/snoretoast/snoretoast.cpp @@ -138,3 +138,8 @@ QProcess *SnorePlugin::WindowsToast::createProcess(Snore::Notification noti) connect(qApp, &QGuiApplication::aboutToQuit, p, &QProcess::kill); return p; } + +void SnorePlugin::WindowsToast::setDockBadgeLabel(const QString label) +{ + +} diff --git a/src/plugins/backends/snoretoast/snoretoast.h b/src/plugins/backends/snoretoast/snoretoast.h index 73f4d08..8513c3b 100644 --- a/src/plugins/backends/snoretoast/snoretoast.h +++ b/src/plugins/backends/snoretoast/snoretoast.h @@ -23,6 +23,7 @@ public Q_SLOTS: void slotNotify(Snore::Notification notification) override; void slotRegisterApplication(const Snore::Application &application) override; void slotCloseNotification(Snore::Notification notification) override; + void setDockBadgeLabel(const QString label) override; private: QString appId(const Snore::Application &application);