summaryrefslogtreecommitdiffstats
path: root/application/main.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-08-09 22:29:17 +0200
committerPetr Mrázek <peterix@gmail.com>2016-08-09 22:29:17 +0200
commit74b4343c43cb0f3fc85cf27d1159349d0b3f32e6 (patch)
tree5e32c9bfb0dc6f76e0404c581b3ca43a26ee3e35 /application/main.cpp
parent877d1020db4acfd5085a27cad013b7d03177ba0b (diff)
downloadMultiMC-74b4343c43cb0f3fc85cf27d1159349d0b3f32e6.tar
MultiMC-74b4343c43cb0f3fc85cf27d1159349d0b3f32e6.tar.gz
MultiMC-74b4343c43cb0f3fc85cf27d1159349d0b3f32e6.tar.lz
MultiMC-74b4343c43cb0f3fc85cf27d1159349d0b3f32e6.tar.xz
MultiMC-74b4343c43cb0f3fc85cf27d1159349d0b3f32e6.zip
GH-1642 fix instance launch from console
Diffstat (limited to 'application/main.cpp')
-rw-r--r--application/main.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/application/main.cpp b/application/main.cpp
index a8951d33..6b0c361b 100644
--- a/application/main.cpp
+++ b/application/main.cpp
@@ -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();
}