From 3780a25d27ae5c803ce9ed075928fff365104987 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Fri, 4 Nov 2016 00:19:32 +0100 Subject: NOISSUE add an option to show console on error and default other options to false --- application/MultiMC.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'application/MultiMC.cpp') diff --git a/application/MultiMC.cpp b/application/MultiMC.cpp index b3615580..969e54e5 100644 --- a/application/MultiMC.cpp +++ b/application/MultiMC.cpp @@ -542,8 +542,9 @@ void MultiMC::initGlobalSettings() m_settings->registerSetting("Language", QLocale(QLocale::system().language()).bcp47Name()); // Console - m_settings->registerSetting("ShowConsole", true); - m_settings->registerSetting("AutoCloseConsole", true); + m_settings->registerSetting("ShowConsole", false); + m_settings->registerSetting("AutoCloseConsole", false); + m_settings->registerSetting("ShowConsoleOnError", true); m_settings->registerSetting("LogPrePostOutput", true); // Console Colors @@ -1087,7 +1088,6 @@ void MultiMC::launch(InstancePtr instance, bool online, BaseProfilerFactory *pro controller->setInstance(instance); controller->setOnline(online); controller->setProfiler(profiler); - controller->setShowConsole(instance->settings()->get("ShowConsole").toBool()); if(window) { controller->setParentWidget(window); -- cgit v1.2.3