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 c9c3b712 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Use the right API

parent 43573ccd
......@@ -555,7 +555,7 @@ bool FlatpakBackend::loadInstalledApps(FlatpakInstallation *flatpakInstallation)
continue;
}
const QString fnDesktop = QStringLiteral("%1/%2").arg(file.absolutePath()).arg(file.fileName());
const QString fnDesktop = file.absoluteFilePath();
AppStream::Metadata metadata;
AppStream::Metadata::MetadataError error = metadata.parseFile(fnDesktop, AppStream::Metadata::FormatKindDesktopEntry);
......
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