From 7fa2c7b4a5b55f87291075b1b25dfbdc13d6cf4b Mon Sep 17 00:00:00 2001 From: fourtf Date: Thu, 3 Oct 2019 17:36:44 +0200 Subject: [PATCH] init irc and restart on crash is false by default --- src/Application.cpp | 5 ++++- src/singletons/Settings.hpp | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Application.cpp b/src/Application.cpp index 96debe36b..cb81a4d18 100644 --- a/src/Application.cpp +++ b/src/Application.cpp @@ -80,7 +80,10 @@ void Application::initialize(Settings &settings, Paths &paths) assert(isAppInitialized == false); isAppInitialized = true; - //Irc::getInstance().load(); + if (getSettings()->enableExperimentalIrc) + { + Irc::getInstance().load(); + } for (auto &singleton : this->singletons_) { diff --git a/src/singletons/Settings.hpp b/src/singletons/Settings.hpp index 79b3430ea..e6da2c291 100644 --- a/src/singletons/Settings.hpp +++ b/src/singletons/Settings.hpp @@ -213,7 +213,7 @@ public: BoolSetting openLinksIncognito = {"/misc/openLinksIncognito", 0}; QStringSetting cachePath = {"/cache/path", ""}; - BoolSetting restartOnCrash = {"/misc/restartOnCrash", true}; + BoolSetting restartOnCrash = {"/misc/restartOnCrash", false}; /// Debug BoolSetting showUnhandledIrcMessages = {"/debug/showUnhandledIrcMessages",