Permalink
Browse files

NOISSUE remove some nonsense and dead code

  • Loading branch information...
peterix committed Nov 14, 2018
1 parent 5603133 commit a8e77f0ecc2f6e15896b1d6171fd66c73478d5e8
@@ -275,8 +275,6 @@ set(MINECRAFT_SOURCES
minecraft/VersionFilterData.cpp
minecraft/Mod.h
minecraft/Mod.cpp
minecraft/ModsModel.h
minecraft/ModsModel.cpp
minecraft/SimpleModList.h
minecraft/SimpleModList.cpp
minecraft/World.h
@@ -471,6 +469,8 @@ set(LOGIC_SOURCES
${FLAME_SOURCES}
)
message(STATUS "FOO! ${LOGIC_SOURCES}")
add_library(MultiMC_logic SHARED ${LOGIC_SOURCES})
set_target_properties(MultiMC_logic PROPERTIES CXX_VISIBILITY_PRESET hidden VISIBILITY_INLINES_HIDDEN 1)
@@ -26,7 +26,6 @@
#include "meta/VersionList.h"
#include "SimpleModList.h"
#include "ModsModel.h"
#include "WorldList.h"
#include "icons/IIconList.h"
@@ -896,16 +895,6 @@ std::shared_ptr<SimpleModList> MinecraftInstance::loaderModList() const
return m_loader_mod_list;
}
std::shared_ptr<ModsModel> MinecraftInstance::modsModel() const
{
if (!m_mods_model)
{
m_mods_model.reset(new ModsModel(loaderModsDir(), coreModsDir(), modsCacheLocation()));
}
m_mods_model->update();
return m_mods_model;
}
std::shared_ptr<SimpleModList> MinecraftInstance::coreModList() const
{
if (!m_core_mod_list)
Oops, something went wrong.

0 comments on commit a8e77f0

Please sign in to comment.