chore: fix some codeql warnings (#3840)

This commit is contained in:
Tayou
2025-06-06 14:19:27 +02:00
committed by GitHub
18 changed files with 72 additions and 26 deletions

View File

@@ -45,3 +45,4 @@ void loadIndexedPack(IndexedPack& m, QJsonObject& obj);
} // namespace ATLauncher
Q_DECLARE_METATYPE(ATLauncher::IndexedPack)
Q_DECLARE_METATYPE(QList<ATLauncher::IndexedVersion>)

View File

@@ -52,3 +52,4 @@ auto getVersionDisplayString(const IndexedVersion&) -> QString;
} // namespace Flame
Q_DECLARE_METATYPE(Flame::IndexedPack)
Q_DECLARE_METATYPE(QList<Flame::IndexedVersion>)

View File

@@ -126,3 +126,4 @@ auto getVersionDisplayString(const ModpackVersion&) -> QString;
Q_DECLARE_METATYPE(Modrinth::Modpack)
Q_DECLARE_METATYPE(Modrinth::ModpackVersion)
Q_DECLARE_METATYPE(QList<Modrinth::ModpackVersion>)