diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-10-24 00:57:54 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-10-24 00:57:54 +0200 |
commit | 895d8ab4699f1b50bf03532c967a91f5ecb62a50 (patch) | |
tree | 7f3039a34839cdea3ae6fe8f030e388c03efbf5d /application/LaunchInteraction.h | |
parent | 8a4fd8c4688a7fb6f014fadc807213950ccb9d4f (diff) | |
download | MultiMC-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.h | 6 |
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(); |