Set freedesktop hint suppress-sound to the value of hints silent
This commit is contained in:
parent
4685c7fe21
commit
c027b43ee7
|
@ -69,6 +69,8 @@ void FreedesktopBackend::slotNotify(Notification noti)
|
|||
hints.insert(QLatin1String("desktop-entry"), noti.application().constHints().value("desktop-entry"));
|
||||
}
|
||||
|
||||
hints.insert(QLatin1String("suppress-sound"), noti.constHints().value("silent").toBool());
|
||||
|
||||
uint updateId = 0;
|
||||
if (noti.isUpdate()) {
|
||||
updateId = noti.old().hints().privateValue(this, "id").toUInt();
|
||||
|
|
Loading…
Reference in New Issue