sneedmc/launcher/minecraft/mod
jdp_ 9cb6200081 Cleanup codebase
for FileSystem.cpp:
Instead of checking if Linux or FreeBSD, check if its not Windows and not OSX. Chances are other operating systems run a DE that adheres to the XDG Desktop standard (.desktop). The check isn't good enough anyways since alternative shells for Windows exist, it will never be an accurate check. In any case this function is unused.

WorldListPage.cpp:
Redo confusing switch statement plagued with fall throughs, now well defined.

LaunchController.cpp:
Remove cringe. Also fix warning and make the unimplemented case(s) more explicit.

VersionProxyModel.cpp:
Add fallthrough for warning suppression.

WorldListPage.cpp:
redo `mceditState`

TranslationsModel.cpp:
Move up definition of `column` variable to when it is needed, clear up switch cases

FlameInstanceCreationTask.cpp:
Fallthrough intentionally

SkinUpload.cpp:
Make `getVariant`

ResourcePack.cpp:
Add new values for 1.19.3+

meta/Index.cpp:
Make clear switch statement behavior

JavaWizardPage.cpp:
Fix case fallthrough

Yggdrasil.cpp:
Fix case fallthrough

AccountList.cpp:
Fix case fallthrough,

WinDarkmode.cpp:
Add an explanation and fix warnings due to FARPROC casts.

Signed-off-by: jdp_ <42700985+jdpatdiscord@users.noreply.github.com>
2023-05-07 06:20:16 -04:00
..
tasks Update launcher/minecraft/mod/tasks/LocalModParseTask.cpp 2022-09-25 20:38:55 +03:00
MetadataHandler.h change: mod metadata improvements 2022-07-17 11:33:43 -03:00
Mod.cpp Cleanup codebase 2023-05-07 06:20:16 -04:00
Mod.h change: add enable/disable to resources 2022-08-20 10:49:54 -03:00
ModDetails.h fix: LGTM warnings 2022-08-20 10:49:56 -03:00
ModFolderModel.cpp fix: ensure all resource folders exist 2022-09-20 10:39:05 +02:00
ModFolderModel.h feat: add basic resource pack parsing of pack.mcmeta 2022-09-03 13:37:21 -03:00
Resource.cpp Cleanup codebase 2023-05-07 06:20:16 -04:00
Resource.h fix: sorting by pack format 2022-09-03 13:37:21 -03:00
ResourceFolderModel.cpp fix: ensure all resource folders exist 2022-09-20 10:39:05 +02:00
ResourceFolderModel.h fix: prevent container detaching in ResourceFolderModel 2022-09-16 20:12:31 -03:00
ResourcePack.cpp Cleanup codebase 2023-05-07 06:20:16 -04:00
ResourcePack.h feat: move resource pack images to QPixmapCache 2022-09-03 13:37:22 -03:00
ResourcePackFolderModel.cpp fix: improve handling of unrecognized pack formats 2022-09-03 15:05:23 -03:00
ResourcePackFolderModel.h feat: add basic resource pack parsing of pack.mcmeta 2022-09-03 13:37:21 -03:00
ShaderPackFolderModel.h refactor: adapt rest of the codebase to the new resource model 2022-08-20 10:47:58 -03:00
TexturePack.cpp fix: comments and naming of texture pack stuff 2022-09-20 10:26:15 +02:00
TexturePack.h fix: comments and naming of texture pack stuff 2022-09-20 10:26:15 +02:00
TexturePackFolderModel.cpp feat: add texture pack parsing 2022-09-20 10:26:15 +02:00
TexturePackFolderModel.h fix: comments and naming of texture pack stuff 2022-09-20 10:26:15 +02:00