ATLauncher: Move the UI support implementation into it's own class

This will allow it to be used in multiple locations.
This commit is contained in:
Jamie Mansfield
2022-05-28 22:07:13 +01:00
parent a7fc23dd96
commit bf560f4594
5 changed files with 160 additions and 58 deletions

View File

@ -52,7 +52,7 @@ namespace Ui
class NewInstanceDialog;
class AtlPage : public QWidget, public BasePage, public ATLauncher::UserInteractionSupport
class AtlPage : public QWidget, public BasePage
{
Q_OBJECT
@ -83,10 +83,6 @@ public:
private:
void suggestCurrent();
QString chooseVersion(Meta::VersionListPtr vlist, QString minecraftVersion) override;
QVector<QString> chooseOptionalMods(ATLauncher::PackVersion version, QVector<ATLauncher::VersionMod> mods) override;
void displayMessage(QString message) override;
private slots:
void triggerSearch();