PrismLauncher/launcher/ui
flow ec62d8e973
refactor: move general code from mod model to its own model
This aims to continue decoupling other types of resources (e.g. resource
packs, shader packs, etc) from mods, so that we don't have to
continuously watch our backs for changes to one of them affecting the
others.

To do so, this creates a more general list model for resources, based on
the mods one, that allows you to extend it with functionality for other
resources.

I had to do some template and preprocessor stuff to get around the
QObject limitation of not allowing templated classes, so that's sadge :c

On the other hand, I tried cleaning up most general-purpose code in the
mod model, and added some documentation, because it looks nice :D

Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-20 10:45:01 -03:00
..
dialogs Merge pull request #1023 from flowln/better_shared_ptr 2022-08-20 12:50:50 +02:00
instanceview chore: update license headers 2022-07-10 12:19:15 +02:00
pagedialog NOISSUE continue reshuffling the codebase 2021-11-22 03:55:16 +01:00
pages refactor: move general code from mod model to its own model 2022-08-20 10:45:01 -03:00
setupwizard Add migration wizard, fix migration from custom paste instance 2022-05-21 17:30:19 +01:00
themes fix: dark placeholder text in dark background on dark theme 2022-07-18 14:25:00 -03:00
widgets refactor: move general info from Mod to Resource 2022-08-20 10:41:59 -03:00
ColorCache.cpp NOISSUE continue reshuffling the codebase 2021-11-22 03:55:16 +01:00
ColorCache.h NOISSUE continue reshuffling the codebase 2021-11-22 03:55:16 +01:00
GuiUtil.cpp Revert "fix: remove updater if it is not used" 2022-07-06 18:13:51 +02:00
GuiUtil.h NOISSUE continue reshuffling the codebase 2021-11-22 03:55:16 +01:00
InstanceWindow.cpp chore: update license headers 2022-07-10 12:19:15 +02:00
InstanceWindow.h chore: update license headers 2022-07-10 12:19:15 +02:00
MainWindow.cpp fix: hide 'More news...' button if the news aren't loaded yet 2022-08-12 17:41:11 -03:00
MainWindow.h Trash instances instead of deleting (when possible) (#549) 2022-07-30 14:42:33 -03:00