NOISSUE MCEdit integration - remove old 'tool', replace with Worlds
This commit is contained in:
parent
3a4304d89d
commit
85b64ad767
8 changed files with 109 additions and 193 deletions
|
@ -271,12 +271,7 @@ MultiMC::MultiMC(int &argc, char **argv) : QApplication(argc, argv)
|
|||
profiler->registerSettings(m_settings);
|
||||
}
|
||||
|
||||
//FIXME: what to do with these?
|
||||
m_tools.insert("mcedit", std::shared_ptr<BaseDetachedToolFactory>(new MCEditFactory()));
|
||||
for (auto tool : m_tools.values())
|
||||
{
|
||||
tool->registerSettings(m_settings);
|
||||
}
|
||||
initMCEdit();
|
||||
|
||||
connect(this, SIGNAL(aboutToQuit()), SLOT(onExit()));
|
||||
|
||||
|
@ -628,6 +623,11 @@ void MultiMC::initGlobalSettings()
|
|||
}
|
||||
}
|
||||
|
||||
void MultiMC::initMCEdit()
|
||||
{
|
||||
m_mcedit.reset(new MCEditTool(m_settings));
|
||||
}
|
||||
|
||||
std::shared_ptr<LWJGLVersionList> MultiMC::lwjgllist()
|
||||
{
|
||||
if (!m_lwjgllist)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue