Skip to content

Commit

Permalink
Make D-Bus 'desktop-entry' hint match system filename.
Browse files Browse the repository at this point in the history
"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.
  • Loading branch information
hal7df committed Jun 16, 2019
1 parent 8483d24 commit b697e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/osd_x11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b697e96

Please sign in to comment.