Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit d41e1ce6 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

flatpak: Don't add .desktop to installed apps

We're already testing X and X.desktop, so it's more correct this way.

BUG: 402640
parent d56e6d49
......@@ -711,9 +711,7 @@ bool FlatpakBackend::loadInstalledApps(FlatpakInstallation *flatpakInstallation)
continue;
}
auto component = metadata.component();
component.setId(name + QLatin1String(".desktop"));
FlatpakResource *resource = new FlatpakResource(component, flatpakInstallation, this);
FlatpakResource *resource = new FlatpakResource(metadata.component(), flatpakInstallation, this);
resource->setIconPath(pathExports);
resource->setState(AbstractResource::Installed);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment