Make D-Bus 'desktop-entry' hint match system filename.

"Clementine" (as returned by QCoreApplication::applicationName())
does not match the system .desktop file name (but it may match user
.desktop files, as was the case for me); Clementine won't be picked up
as an application in KDE Plasma notification settings unless it case
matches.
This commit is contained in:
Paul Bonnen 2019-06-16 13:03:47 -04:00
parent 8483d24a04
commit b697e962b3
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ void OSD::ShowMessageNative(const QString& summary, const QString& message,
hints["image_data"] = QVariant(image);
}
hints["desktop-entry"] = QVariant(QCoreApplication::applicationName());
hints["desktop-entry"] = QVariant("clementine");
hints["transient"] = QVariant(true);
int id = 0;