rename VALID_RESOURCES static variable

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2025-07-18 18:26:25 +03:00
parent 6f23c6ea41
commit b60b577d25
No known key found for this signature in database
GPG key ID: 55EF5DA53DB36318

View file

@ -1041,7 +1041,7 @@ void MainWindow::processURLs(QList<QUrl> urls)
auto type = ResourceUtils::identify(localFileInfo);
if (ModPlatform::ResourceTypeUtils::ValidResources.count(type) == 0) { // probably instance/modpack
if (ModPlatform::ResourceTypeUtils::VALID_RESOURCES.count(type) == 0) { // probably instance/modpack
addInstance(localFileName, extra_info);
continue;
}