Add missing `WindowsToast::setDockBadgeLabel()`

This commit is contained in:
Pedro Pombeiro 2018-11-15 07:05:38 +01:00
parent 35832cb2bb
commit 9d54904e48
No known key found for this signature in database
GPG Key ID: A65DEB11E4BBC647
2 changed files with 6 additions and 0 deletions

View File

@ -138,3 +138,8 @@ QProcess *SnorePlugin::WindowsToast::createProcess(Snore::Notification noti)
connect(qApp, &QGuiApplication::aboutToQuit, p, &QProcess::kill); connect(qApp, &QGuiApplication::aboutToQuit, p, &QProcess::kill);
return p; return p;
} }
void SnorePlugin::WindowsToast::setDockBadgeLabel(const QString label)
{
}

View File

@ -23,6 +23,7 @@ public Q_SLOTS:
void slotNotify(Snore::Notification notification) override; void slotNotify(Snore::Notification notification) override;
void slotRegisterApplication(const Snore::Application &application) override; void slotRegisterApplication(const Snore::Application &application) override;
void slotCloseNotification(Snore::Notification notification) override; void slotCloseNotification(Snore::Notification notification) override;
void setDockBadgeLabel(const QString label) override;
private: private:
QString appId(const Snore::Application &application); QString appId(const Snore::Application &application);