fix(notification-server):修复更新消息数量信号未发送问题
This commit is contained in:
parent
757dcf240c
commit
586f101c3d
|
@ -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;
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue