chore: fix some codeql warnings (#3838)

This commit is contained in:
Tayou
2025-06-06 15:20:07 +02:00
committed by GitHub
11 changed files with 14 additions and 11 deletions
@@ -391,7 +391,7 @@ QString PackInstallTask::getVersionForLoader(QString uid)
return m_version.loader.version;
}
QString PackInstallTask::detectLibrary(VersionLibrary library)
QString PackInstallTask::detectLibrary(const VersionLibrary& library)
{
// Try to detect what the library is
if (!library.server.isEmpty() && library.server.split("/").length() >= 3) {