summaryrefslogtreecommitdiffstats
path: root/application/MainWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'application/MainWindow.h')
-rw-r--r--application/MainWindow.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/application/MainWindow.h b/application/MainWindow.h
index 7ef277db..639405c0 100644
--- a/application/MainWindow.h
+++ b/application/MainWindow.h
@@ -57,6 +57,8 @@ public:
private
slots:
+ void setSelectedInstanceById(const QString &id);
+
void onCatToggled(bool);
void on_actionAbout_triggered();
@@ -162,11 +164,9 @@ protected:
void setCatBackground(bool enabled);
void updateInstanceToolIcon(QString new_icon);
- void setSelectedInstanceById(const QString &id);
-
void waitForMinecraftVersions();
- void instanceFromVersion(QString instName, QString instGroup, QString instIcon, BaseVersionPtr version);
- void instanceFromZipPack(QString instName, QString instGroup, QString instIcon, QUrl url);
+ InstancePtr instanceFromVersion(QString instName, QString instGroup, QString instIcon, BaseVersionPtr version);
+ InstancePtr instanceFromZipPack(QString instName, QString instGroup, QString instIcon, QUrl url);
void finalizeInstance(InstancePtr inst);
void launch(InstancePtr instance, bool online = true, BaseProfilerFactory *profiler = nullptr);