diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-08-27 20:29:27 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-08-27 20:29:27 +0200 |
commit | a266e5d0ccafe1585bafd471d7a71181358ceb59 (patch) | |
tree | dc1200c0840496b8694a5eeb7256b1ad2570a2cf /logic | |
parent | 73f534939a53dc7874890f6cb7cdae648e38300d (diff) | |
download | MultiMC-a266e5d0ccafe1585bafd471d7a71181358ceb59.tar MultiMC-a266e5d0ccafe1585bafd471d7a71181358ceb59.tar.gz MultiMC-a266e5d0ccafe1585bafd471d7a71181358ceb59.tar.lz MultiMC-a266e5d0ccafe1585bafd471d7a71181358ceb59.tar.xz MultiMC-a266e5d0ccafe1585bafd471d7a71181358ceb59.zip |
Slight refactor of the mod edit dialog constructor
Also some other insignificant refactors
Diffstat (limited to 'logic')
-rw-r--r-- | logic/LegacyInstance.cpp | 4 | ||||
-rw-r--r-- | logic/LegacyInstance.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/logic/LegacyInstance.cpp b/logic/LegacyInstance.cpp index 7209793c..73a02cbd 100644 --- a/logic/LegacyInstance.cpp +++ b/logic/LegacyInstance.cpp @@ -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"); } diff --git a/logic/LegacyInstance.h b/logic/LegacyInstance.h index 97502945..4df884d2 100644 --- a/logic/LegacyInstance.h +++ b/logic/LegacyInstance.h @@ -29,7 +29,7 @@ public: QString texturePackDir() const; QString jarModsDir() const; QString binDir() const; - QString mlModsDir() const; + QString loaderModsDir() const; QString coreModsDir() const; QString resourceDir() const; virtual QString instanceConfigFolder() const; |