summaryrefslogtreecommitdiffstats
path: root/application/InstanceWindow.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-10-30 02:37:38 +0100
committerPetr Mrázek <peterix@gmail.com>2016-10-30 02:37:38 +0100
commit412855ae3d967ff81a383688397c4d9448a4ee15 (patch)
tree78d6225067f39a2696dfb9ca0d40eaed237fe9ee /application/InstanceWindow.h
parentdeabfa78f8e66d1af40d0ecfd787d034cffd5431 (diff)
downloadMultiMC-412855ae3d967ff81a383688397c4d9448a4ee15.tar
MultiMC-412855ae3d967ff81a383688397c4d9448a4ee15.tar.gz
MultiMC-412855ae3d967ff81a383688397c4d9448a4ee15.tar.lz
MultiMC-412855ae3d967ff81a383688397c4d9448a4ee15.tar.xz
MultiMC-412855ae3d967ff81a383688397c4d9448a4ee15.zip
NOISSUE refactor window management and launch, make MultiMC a single instance application.
Diffstat (limited to 'application/InstanceWindow.h')
-rw-r--r--application/InstanceWindow.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/application/InstanceWindow.h b/application/InstanceWindow.h
index 1a6bc8c3..5cbced03 100644
--- a/application/InstanceWindow.h
+++ b/application/InstanceWindow.h
@@ -36,11 +36,6 @@ public:
QString instanceId();
- void setQuitOnClose(bool shouldQuit = false)
- {
- m_shouldQuit = shouldQuit;
- }
-
// save all settings and changes (prepare for launch)
bool saveAll();
@@ -68,9 +63,7 @@ private:
private:
std::shared_ptr<LaunchTask> m_proc;
- unique_qobject_ptr<LaunchController> m_launchController;
InstancePtr m_instance;
- bool m_shouldQuit = false;
bool m_doNotSave = false;
PageContainer *m_container = nullptr;
QPushButton *m_closeButton = nullptr;