aboutsummaryrefslogtreecommitdiff
path: root/launcher/Application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/Application.cpp')
-rw-r--r--launcher/Application.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/Application.cpp b/launcher/Application.cpp
index bcfdc460..ff0f2129 100644
--- a/launcher/Application.cpp
+++ b/launcher/Application.cpp
@@ -871,9 +871,11 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv)
m_mcedit.reset(new MCEditTool(m_settings));
}
+#ifdef Q_OS_MACOS
connect(this, &Application::clickedOnDock, [this]() {
this->showMainWindow();
});
+#endif
connect(this, &Application::aboutToQuit, [this](){
if(m_instances)