Commit 88c9ac30 authored by Jan Grulich's avatar Jan Grulich

Use correct path where appstream metadata are stored

parent 0233e4cb
......@@ -554,7 +554,7 @@ bool FlatpakBackend::loadInstalledApps(FlatpakInstallation *flatpakInstallation)
continue;
}
const QString fnDesktop = file.absolutePath();
const QString fnDesktop = QStringLiteral("%1/%2").arg(file.absolutePath()).arg(file.fileName());
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