fix build on qt 6.4 (#4920)

This commit is contained in:
Alexandru Ionut Tripon 2026-02-01 05:22:46 +02:00 committed by GitHub
commit a884e36b96
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -247,7 +247,7 @@ ModDetails ReadMCModTOML(QByteArray contents)
continue;
}
auto modId = (*dep_table)["modId"].as_string();
if (!modId || ignoreModIds.contains(modId->get())) {
if (!modId || ignoreModIds.contains(QString::fromStdString(modId->get()))) {
continue;
}
if (isNeoForgeDep(dep_table) || isForgeDep(dep_table)) {