summaryrefslogtreecommitdiffstats
path: root/application/LaunchInteraction.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-10-24 00:57:54 +0200
committerPetr Mrázek <peterix@gmail.com>2015-10-24 00:57:54 +0200
commit895d8ab4699f1b50bf03532c967a91f5ecb62a50 (patch)
tree7f3039a34839cdea3ae6fe8f030e388c03efbf5d /application/LaunchInteraction.h
parent8a4fd8c4688a7fb6f014fadc807213950ccb9d4f (diff)
downloadMultiMC-895d8ab4699f1b50bf03532c967a91f5ecb62a50.tar
MultiMC-895d8ab4699f1b50bf03532c967a91f5ecb62a50.tar.gz
MultiMC-895d8ab4699f1b50bf03532c967a91f5ecb62a50.tar.lz
MultiMC-895d8ab4699f1b50bf03532c967a91f5ecb62a50.tar.xz
MultiMC-895d8ab4699f1b50bf03532c967a91f5ecb62a50.zip
GH-1300 call application quit when direct launch instance quits
Diffstat (limited to 'application/LaunchInteraction.h')
-rw-r--r--application/LaunchInteraction.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/LaunchInteraction.h b/application/LaunchInteraction.h
index d64c3f6a..b0932e9b 100644
--- a/application/LaunchInteraction.h
+++ b/application/LaunchInteraction.h
@@ -4,10 +4,12 @@
#include <tools/BaseProfiler.h>
class ConsoleWindow;
-class LaunchController: public QObject
+class LaunchController: public Task
{
Q_OBJECT
public:
+ virtual void executeTask();
+
LaunchController(QObject * parent = nullptr);
virtual ~LaunchController(){};
@@ -28,8 +30,6 @@ public:
m_parentWidget = widget;
}
- void launch();
-
private:
void login();
void launchInstance();