summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-03-01 23:06:47 +0100
committerPetr Mrázek <peterix@gmail.com>2014-03-01 23:06:47 +0100
commit7c24bcc83476dcbdd7f7acbe14ecef4398962689 (patch)
tree4ab7e7020927d05274f079c3045bd572c218fa21 /gui
parent7dfd6aa051c582e26125e17e1d6eed5e675e1027 (diff)
downloadMultiMC-7c24bcc83476dcbdd7f7acbe14ecef4398962689.tar
MultiMC-7c24bcc83476dcbdd7f7acbe14ecef4398962689.tar.gz
MultiMC-7c24bcc83476dcbdd7f7acbe14ecef4398962689.tar.lz
MultiMC-7c24bcc83476dcbdd7f7acbe14ecef4398962689.tar.xz
MultiMC-7c24bcc83476dcbdd7f7acbe14ecef4398962689.zip
Reorganize the version-related code.
Diffstat (limited to 'gui')
-rw-r--r--gui/dialogs/OneSixModEditDialog.cpp4
-rw-r--r--gui/dialogs/OneSixModEditDialog.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/gui/dialogs/OneSixModEditDialog.cpp b/gui/dialogs/OneSixModEditDialog.cpp
index fe621a9a..67210217 100644
--- a/gui/dialogs/OneSixModEditDialog.cpp
+++ b/gui/dialogs/OneSixModEditDialog.cpp
@@ -34,7 +34,7 @@
#include "gui/dialogs/ProgressDialog.h"
#include "logic/ModList.h"
-#include "logic/OneSixVersion.h"
+#include "logic/VersionFinal.h"
#include "logic/EnabledItemFilter.h"
#include "logic/lists/ForgeVersionList.h"
#include "logic/lists/LiteLoaderVersionList.h"
@@ -353,7 +353,7 @@ QMap<QString, int> OneSixModEditDialog::getExistingOrder() const
QMap<QString, int> order;
// default
{
- for (OneSixVersion::VersionFile file : m_version->versionFiles)
+ for (VersionFinal::VersionFile file : m_version->versionFiles)
{
if (file.id.startsWith("org.multimc."))
{
diff --git a/gui/dialogs/OneSixModEditDialog.h b/gui/dialogs/OneSixModEditDialog.h
index f44b336b..1f3f9f67 100644
--- a/gui/dialogs/OneSixModEditDialog.h
+++ b/gui/dialogs/OneSixModEditDialog.h
@@ -60,7 +60,7 @@ protected:
private:
Ui::OneSixModEditDialog *ui;
- std::shared_ptr<OneSixVersion> m_version;
+ std::shared_ptr<VersionFinal> m_version;
std::shared_ptr<ModList> m_mods;
std::shared_ptr<ModList> m_resourcepacks;
EnabledItemFilter *main_model;