From 075de5bc1b6121d9ff3c5b2ddd418f83bfd76ea0 Mon Sep 17 00:00:00 2001 From: iaom Date: Tue, 25 Jun 2024 17:45:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(notification-server):=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=B6=88=E6=81=AF=E6=95=B0=E9=87=8F=E4=BF=A1?= =?UTF-8?q?=E5=8F=B7=E6=9C=AA=E5=8F=91=E9=80=81=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- notification-server/server-private.h | 2 +- notification-server/server.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/notification-server/server-private.h b/notification-server/server-private.h index 6b24283..ae20ea5 100644 --- a/notification-server/server-private.h +++ b/notification-server/server-private.h @@ -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; diff --git a/notification-server/server.cpp b/notification-server/server.cpp index 43d3dc6..9ce98e8 100644 --- a/notification-server/server.cpp +++ b/notification-server/server.cpp @@ -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))