fix(notification-server):修复更新消息数量信号未发送问题
This commit is contained in:
parent
8d8bf44ded
commit
075de5bc1b
|
@ -72,7 +72,7 @@ Q_SIGNALS:
|
||||||
void NotificationClosed(uint id, uint reason);
|
void NotificationClosed(uint id, uint reason);
|
||||||
void ActionInvoked(uint id, const QString &actionKey);
|
void ActionInvoked(uint id, const QString &actionKey);
|
||||||
void ActivationToken(uint id, const QString &ActivationToken);
|
void ActivationToken(uint id, const QString &ActivationToken);
|
||||||
void UnreadMessageNumberUpdated(const QString &desktopEntry, uint number);
|
void UnreadMessagesNumberUpdated(const QString &desktopEntry, uint number);
|
||||||
public:
|
public:
|
||||||
explicit ServerPrivate(QObject *parent = nullptr);
|
explicit ServerPrivate(QObject *parent = nullptr);
|
||||||
~ServerPrivate() override;
|
~ServerPrivate() override;
|
||||||
|
|
|
@ -199,7 +199,7 @@ void ServerPrivate::sendCache()
|
||||||
|
|
||||||
void ServerPrivate::UpdateUnreadMessagesNumber(const QString &desktopEntry, uint number)
|
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))
|
Server::Server(QObject *parent): QObject(parent), d(new ServerPrivate(this))
|
||||||
|
|
Loading…
Reference in New Issue