Slight refactor of the mod edit dialog constructor
Also some other insignificant refactors
This commit is contained in:
parent
73f534939a
commit
a266e5d0cc
3 changed files with 43 additions and 26 deletions
|
@ -124,7 +124,7 @@ QSharedPointer< ModList > LegacyInstance::loaderModList()
|
|||
I_D(LegacyInstance);
|
||||
if(!d->loader_mod_list)
|
||||
{
|
||||
d->loader_mod_list.reset(new ModList(mlModsDir()));
|
||||
d->loader_mod_list.reset(new ModList(loaderModsDir()));
|
||||
}
|
||||
else
|
||||
d->loader_mod_list->update();
|
||||
|
@ -171,7 +171,7 @@ QString LegacyInstance::savesDir() const
|
|||
return PathCombine(minecraftRoot(), "saves");
|
||||
}
|
||||
|
||||
QString LegacyInstance::mlModsDir() const
|
||||
QString LegacyInstance::loaderModsDir() const
|
||||
{
|
||||
return PathCombine(minecraftRoot(), "mods");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue