diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-09-16 00:21:50 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-09-16 00:21:50 +0200 |
commit | b10761711234b69cf8509bacb055f7d5c3c021e8 (patch) | |
tree | 238a0532ca7a295e8ae9420faf9b49459ee82d6b /application/MainWindow.h | |
parent | 0a187d0ad36f1223334a260b0c51c0b1b2935298 (diff) | |
download | MultiMC-b10761711234b69cf8509bacb055f7d5c3c021e8.tar MultiMC-b10761711234b69cf8509bacb055f7d5c3c021e8.tar.gz MultiMC-b10761711234b69cf8509bacb055f7d5c3c021e8.tar.lz MultiMC-b10761711234b69cf8509bacb055f7d5c3c021e8.tar.xz MultiMC-b10761711234b69cf8509bacb055f7d5c3c021e8.zip |
GH-1121 select instance after creating it
Diffstat (limited to 'application/MainWindow.h')
-rw-r--r-- | application/MainWindow.h | 8 |
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); |