diff options
author | flow <flowlnlnln@gmail.com> | 2022-08-10 14:42:24 -0300 |
---|---|---|
committer | flow <flowlnlnln@gmail.com> | 2022-08-20 10:47:08 -0300 |
commit | 1e2f0ab3083f002071938275a97b13c0c4633e64 (patch) | |
tree | 3c4cc9c3c1768b7cec7cc876e218be22ea43e0c4 /launcher/minecraft/mod/ResourcePackFolderModel.h | |
parent | af2cf2734da211d443b3046fb0f9733f101d9d9d (diff) | |
download | PrismLauncher-1e2f0ab3083f002071938275a97b13c0c4633e64.tar.gz PrismLauncher-1e2f0ab3083f002071938275a97b13c0c4633e64.tar.bz2 PrismLauncher-1e2f0ab3083f002071938275a97b13c0c4633e64.zip |
refactor: move more tied logic to model and move logic to the resources
This moves the QSortFilterProxyModel to the resource model files,
acessible via a factory method, and moves the sorting and filtering to
the objects themselves, decoupling the code a bit.
This also adds a basic implementation of methods in the
ResourceFolderModel, simplifying the process of constructing a new model
from it.
Signed-off-by: flow <flowlnlnln@gmail.com>
Diffstat (limited to 'launcher/minecraft/mod/ResourcePackFolderModel.h')
0 files changed, 0 insertions, 0 deletions