fix(notification-server):修复更新消息数量信号未发送问题

This commit is contained in:
iaom 2024-06-25 17:45:33 +08:00
parent 7be4171bae
commit cca1598e98
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ Q_SIGNALS:
void NotificationClosed(uint id, uint reason);
void ActionInvoked(uint id, const QString &actionKey);
void ActivationToken(uint id, const QString &ActivationToken);
void UnreadMessageNumberUpdated(const QString &desktopEntry, uint number);
void UnreadMessagesNumberUpdated(const QString &desktopEntry, uint number);
public:
explicit ServerPrivate(QObject *parent = nullptr);
~ServerPrivate() override;

View File

@ -199,7 +199,7 @@ void ServerPrivate::sendCache()
void ServerPrivate::UpdateUnreadMessagesNumber(const QString &desktopEntry, uint number)
{
Q_EMIT UnreadMessageNumberUpdated(desktopEntry, number);
Q_EMIT UnreadMessagesNumberUpdated(desktopEntry, number);
}
Server::Server(QObject *parent): QObject(parent), d(new ServerPrivate(this))