summaryrefslogtreecommitdiffstats
path: root/application/InstanceWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'application/InstanceWindow.h')
-rw-r--r--application/InstanceWindow.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/application/InstanceWindow.h b/application/InstanceWindow.h
index 8e272e09..2b08644e 100644
--- a/application/InstanceWindow.h
+++ b/application/InstanceWindow.h
@@ -1,4 +1,4 @@
-/* Copyright 2013-2017 MultiMC Contributors
+/* Copyright 2013-2018 MultiMC Contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -40,6 +40,9 @@ public:
// save all settings and changes (prepare for launch)
bool saveAll();
+ // request closing the window (from a page)
+ bool requestClose() override;
+
signals:
void isClosing();
@@ -57,7 +60,7 @@ protected:
void closeEvent(QCloseEvent *) override;
private:
- void setKillButton(bool kill);
+ void updateLaunchButtons();
private:
std::shared_ptr<LaunchTask> m_proc;