sneedmc/launcher/modplatform
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
..
atlauncher Avoid possible conflicts with C++20 requires keyword 2023-05-07 01:26:15 -04:00
flame Cleanup codebase 2023-05-07 06:20:16 -04:00
helpers huge nit: added const refs, everywhere 2022-09-26 11:50:31 +02:00
legacy_ftb fix: simplify abort handling and add missing emits 2022-09-20 18:36:09 -03:00
modpacksch fix: simplify abort handling and add missing emits 2022-09-20 18:36:09 -03:00
modrinth Fix pack updating & Modrinth overrides 2023-05-07 01:06:30 -04:00
packwiz Replaced tomlc99 with tomlplusplus 2022-09-24 00:10:27 +03:00
technic fix: simplify abort handling and add missing emits 2022-09-20 18:36:09 -03:00
CheckUpdateTask.h fix: std::list -> QList 2022-07-17 11:33:45 -03:00
EnsureMetadataTask.cpp Cleanup codebase 2023-05-07 06:20:16 -04:00
EnsureMetadataTask.h fix: add some more nullptr checks / protection 2022-08-05 15:10:44 -03:00
ModAPI.h refactor: use function cb instead of class cb in getVersions 2022-08-01 07:33:30 -03:00
ModIndex.cpp refactor: use QIODevice instead of a whole QByteArray for hash calc. 2022-07-24 17:46:53 -03:00
ModIndex.h Merge pull request #939 from flowln/mod_downloader_improve 2022-09-07 08:27:11 -03:00