Change wording for nameless archive warning

This commit is contained in:
Liderate
2024-01-30 09:27:46 -05:00
parent 5832b4638c
commit 7c5fdd2bc9
+3 -4
View File
@@ -34,7 +34,6 @@ namespace BsaPacker
const QString& pluginName = this->m_PackerDialog->SelectedPluginItem();
const bool needsNewName = this->m_PackerDialog->IsNewFilename();
const QString& archiveName = ModDtoFactory::ArchiveNameValidator(modName, pluginName, needsNewName);
// Don't create the archive when cancelled, empty, or null
if (archiveName == nullptr) {
return std::make_unique<NullModDto>();
}
@@ -63,10 +62,10 @@ namespace BsaPacker
if (!ok) {
return nullptr;
}
// Nameless plugins are not loaded (in the games I tested). Nameless archives can be loaded in
// some games using SArchiveList or equivalent. It is simpler to just prevent nameless archives
// Nameless plugins are not loaded in the games I tested. Nameless archives can be loaded in
// some games using the SArchiveList INI setting or equivalent. It is simpler to just prevent nameless archives
else if (name.isEmpty()) {
qWarning("Archive name is empty. Aborting creation.");
qWarning("Archive name cannot be empty. Cancelling archive creation.");
return nullptr;
}
archive_name_base = name;