Set freedesktop hint suppress-sound to the value of hints silent

This commit is contained in:
Patrick von Reth 2015-08-27 18:45:57 +02:00
parent 4685c7fe21
commit c027b43ee7
1 changed files with 2 additions and 0 deletions

View File

@ -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();