mirror of
https://github.com/clementine-player/Clementine
synced 2025-02-05 05:38:45 +01:00
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:
parent
8483d24a04
commit
b697e962b3
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user