diff options
Diffstat (limited to 'application/MainWindow.cpp')
-rw-r--r-- | application/MainWindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/MainWindow.cpp b/application/MainWindow.cpp index 4be80492..bd50e06d 100644 --- a/application/MainWindow.cpp +++ b/application/MainWindow.cpp @@ -372,7 +372,7 @@ namespace Ui { #include "java/JavaUtils.h" #include "JavaCommon.h" #include "InstancePageProvider.h" -#include "LaunchController.h" +#include "LaunchInteraction.h" #include "SettingsUI.h" #include "minecraft/SkinUtils.h" #include "resources/Resource.h" @@ -1184,7 +1184,7 @@ void MainWindow::finalizeInstance(InstancePtr inst) if (MMC->accounts()->anyAccountIsValid()) { ProgressDialog loadDialog(this); - auto update = inst->doUpdate(); + auto update = inst->createUpdateTask(); connect(update.get(), &Task::failed, [this](QString reason) { QString error = QString("Instance load failed: %1").arg(reason); |