mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-10-04 01:00:22 +00:00
GH-1642 fix instance launch from console
This commit is contained in:
@@ -22,10 +22,6 @@ int launchInstance(MultiMC &app, InstancePtr inst)
|
||||
launchController.setInstance(inst);
|
||||
launchController.setOnline(true);
|
||||
QMetaObject::invokeMethod(&launchController, "start", Qt::QueuedConnection);
|
||||
app.connect(&launchController, &Task::finished, [&app]()
|
||||
{
|
||||
app.quit();
|
||||
});
|
||||
return app.exec();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user