Merge pull request #4822 from xcfrg/fix/mods-ambiguity

NOISSUE log file extension of mods to clear ambiguity
This commit is contained in:
Petr Mrázek 2022-07-09 11:37:26 +02:00 committed by GitHub
commit ff64d2ad59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -623,15 +623,15 @@ QStringList MinecraftInstance::verboseDescription(AuthSessionPtr session, Minecr
{
if(mod.type() == Mod::MOD_FOLDER)
{
out << u8" [📁] " + mod.filename().completeBaseName() + " (folder)";
out << u8" [📁] " + mod.filename().fileName() + " (folder)";
continue;
}
if(mod.enabled()) {
out << u8" [✔️] " + mod.filename().completeBaseName();
out << u8" [✔️] " + mod.filename().fileName();
}
else {
out << u8" [❌] " + mod.filename().completeBaseName() + " (disabled)";
out << u8" [❌] " + mod.filename().fileName() + " (disabled)";
}
}