Mpris2: Remove .desktop file extension in DesktopEntry
According to the specifications it should be the desktop entry without .desktop file extension: https://specifications.freedesktop.org/mpris-spec/latest/Media_Player.html#Property:DesktopEntry Fixes #1516
This commit is contained in:
parent
bdca60c0ad
commit
1bb045b3b0
|
@ -241,7 +241,7 @@ QString Mpris2::DesktopEntryAbsolutePath() const {
|
|||
|
||||
}
|
||||
|
||||
QString Mpris2::DesktopEntry() const { return QGuiApplication::desktopFileName() + QLatin1String(".desktop"); }
|
||||
QString Mpris2::DesktopEntry() const { return QGuiApplication::desktopFileName(); }
|
||||
|
||||
QStringList Mpris2::SupportedUriSchemes() const {
|
||||
|
||||
|
|
Loading…
Reference in New Issue