Commit 67e28319 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Fix warning

parent bfb956c8
......@@ -732,7 +732,7 @@ bool FlatpakBackend::loadInstalledApps(FlatpakInstallation *flatpakInstallation)
qDebug() << "Failed to parse appstream metadata:" << error << fnDesktop;
cid.setId(QString::fromLatin1(flatpak_ref_get_name(FLATPAK_REF(ref))));
#ifdef FLATPAK_CHECK_VERSION(1,1,2)
#if FLATPAK_CHECK_VERSION(1,1,2)
cid.setName(QString::fromLatin1(flatpak_installed_ref_get_appdata_name(ref)));
#endif
} else
......
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