summaryrefslogtreecommitdiffstats
path: root/application/MultiMC.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-11-04 00:19:32 +0100
committerPetr Mrázek <peterix@gmail.com>2016-11-04 00:19:32 +0100
commit3780a25d27ae5c803ce9ed075928fff365104987 (patch)
treef59f3c2bbb77b7a1bdfecb408bafa2f793030673 /application/MultiMC.cpp
parent6ebf6e7785da79f7f3eb28176951d0e9d22a20e8 (diff)
downloadMultiMC-3780a25d27ae5c803ce9ed075928fff365104987.tar
MultiMC-3780a25d27ae5c803ce9ed075928fff365104987.tar.gz
MultiMC-3780a25d27ae5c803ce9ed075928fff365104987.tar.lz
MultiMC-3780a25d27ae5c803ce9ed075928fff365104987.tar.xz
MultiMC-3780a25d27ae5c803ce9ed075928fff365104987.zip
NOISSUE add an option to show console on error and default other options to false
Diffstat (limited to 'application/MultiMC.cpp')
-rw-r--r--application/MultiMC.cpp6
1 files changed, 3 insertions, 3 deletions
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);