diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-05-21 02:34:02 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-05-21 02:34:02 +0200 |
commit | 572a6026b57804cd8e9c3a4ccf4dcb1d198b46c7 (patch) | |
tree | 3ac2c164eb4a21392cf0fe44d02b32e93560865e /application | |
parent | d70c783de8ae842ea175ee92902c31c088c2ddda (diff) | |
download | MultiMC-572a6026b57804cd8e9c3a4ccf4dcb1d198b46c7.tar MultiMC-572a6026b57804cd8e9c3a4ccf4dcb1d198b46c7.tar.gz MultiMC-572a6026b57804cd8e9c3a4ccf4dcb1d198b46c7.tar.lz MultiMC-572a6026b57804cd8e9c3a4ccf4dcb1d198b46c7.tar.xz MultiMC-572a6026b57804cd8e9c3a4ccf4dcb1d198b46c7.zip |
GH-1895 update LWJGL list during legacy instance update
Diffstat (limited to 'application')
-rw-r--r-- | application/MultiMC.cpp | 7 | ||||
-rw-r--r-- | application/MultiMC.h | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/application/MultiMC.cpp b/application/MultiMC.cpp index 495b14a0..c78a536e 100644 --- a/application/MultiMC.cpp +++ b/application/MultiMC.cpp @@ -350,10 +350,10 @@ MultiMC::MultiMC(int &argc, char **argv) : QApplication(argc, argv) initIcons(); initThemes(); - // make sure we have at least some minecraft versions before we init instances initInstances(); initAccounts(); initNetwork(); + initLegacyLwjgl(); // now we have network, download translation updates m_translations->downloadIndex(); @@ -859,6 +859,11 @@ void MultiMC::initMCEdit() m_mcedit.reset(new MCEditTool(m_settings)); } +void MultiMC::initLegacyLwjgl() +{ + auto list = lwjgllist(); +} + std::shared_ptr<TranslationsModel> MultiMC::translations() { return m_translations; diff --git a/application/MultiMC.h b/application/MultiMC.h index de768a98..2fa8e8c3 100644 --- a/application/MultiMC.h +++ b/application/MultiMC.h @@ -185,6 +185,7 @@ private: void initAccounts(); void initMCEdit(); void initAnalytics(); + void initLegacyLwjgl(); void shutdownAnalytics(); bool createSetupWizard(); void performMainStartupAction(); |