diff options
author | flow <flowlnlnln@gmail.com> | 2022-08-09 01:53:50 -0300 |
---|---|---|
committer | flow <flowlnlnln@gmail.com> | 2022-08-20 10:41:59 -0300 |
commit | 3225f514f64533394e14bf7aee4e61c19a72ed2f (patch) | |
tree | 371deca1b4ebada6ead6e82cca02866444284111 /launcher/ui | |
parent | 2d63c860227f4a539526a85d8999f867ae67ce43 (diff) | |
download | PrismLauncher-3225f514f64533394e14bf7aee4e61c19a72ed2f.tar.gz PrismLauncher-3225f514f64533394e14bf7aee4e61c19a72ed2f.tar.bz2 PrismLauncher-3225f514f64533394e14bf7aee4e61c19a72ed2f.zip |
refactor: move general info from Mod to Resource
This allows us to create other resources that are not Mods, but can
still share a significant portion of code.
Signed-off-by: flow <flowlnlnln@gmail.com>
Diffstat (limited to 'launcher/ui')
-rw-r--r-- | launcher/ui/widgets/MCModInfoFrame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/widgets/MCModInfoFrame.cpp b/launcher/ui/widgets/MCModInfoFrame.cpp index 7d78006b..22475abc 100644 --- a/launcher/ui/widgets/MCModInfoFrame.cpp +++ b/launcher/ui/widgets/MCModInfoFrame.cpp @@ -23,7 +23,7 @@ void MCModInfoFrame::updateWithMod(Mod &m) { - if (m.type() == m.MOD_FOLDER) + if (m.type() == ResourceType::FOLDER) { clear(); return; |