From fdb09029d5f8a472f8be198e029f5278fa9757c4 Mon Sep 17 00:00:00 2001 From: Konstantin Sorokin Date: Thu, 3 Aug 2017 16:35:10 +0300 Subject: [PATCH] add 'notifications' option to a newly created default config --- src/config.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/config.cpp b/src/config.cpp index 4d8b165..7e30388 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -98,6 +98,12 @@ Config::create_new_config() option.append_attribute("name").set_value("url_timeout"); option.append_attribute("value").set_value(static_cast(url_timeout_ms) / 1000.f); } + + { + auto option = root.append_child("option"); + option.append_attribute("name").set_value("notifications"); + option.append_attribute("value").set_value(notifications); + } } void