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:
Jonas Kvinge 2024-08-12 21:49:25 +02:00
parent bdca60c0ad
commit 1bb045b3b0
1 changed files with 1 additions and 1 deletions

View File

@ -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 {