GH-1642 fix instance launch from console

This commit is contained in:
Petr Mrázek
2016-08-09 22:29:17 +02:00
parent 877d1020db
commit 74b4343c43
6 changed files with 17 additions and 6 deletions

View File

@ -36,6 +36,11 @@ public:
QString instanceId();
void setQuitOnClose(bool shouldQuit = false)
{
m_shouldQuit = shouldQuit;
}
signals:
void isClosing();
@ -61,7 +66,7 @@ private:
std::shared_ptr<LaunchTask> m_proc;
unique_qobject_ptr<LaunchController> m_launchController;
InstancePtr m_instance;
bool m_mayclose = true;
bool m_shouldQuit = false;
PageContainer *m_container = nullptr;
QPushButton *m_closeButton = nullptr;
QPushButton *m_killButton = nullptr;