NOISSUE rename MinecraftProfile to ComponentList

It is realistically a list of components. The fact that it also holds the final
launch parameters is a design bug.
This commit is contained in:
Petr Mrázek
2017-10-11 23:04:24 +02:00
parent 87edaa7dcd
commit fede712a26
21 changed files with 120 additions and 120 deletions

View File

@ -18,7 +18,7 @@
#include <QWidget>
#include "minecraft/MinecraftInstance.h"
#include "minecraft/MinecraftProfile.h"
#include "minecraft/ComponentList.h"
#include "BasePage.h"
namespace Ui
@ -76,11 +76,11 @@ private:
protected:
/// FIXME: this shouldn't be necessary!
bool reloadMinecraftProfile();
bool reloadComponentList();
private:
Ui::VersionPage *ui;
std::shared_ptr<MinecraftProfile> m_profile;
std::shared_ptr<ComponentList> m_profile;
MinecraftInstance *m_inst;
int currentIdx = 0;