Fixed global configuration loading at startup

pull/55/head
parent b18fe7a5a4
commit a0597defc8

@ -71,7 +71,7 @@ add_custom_target(
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Wall -Wextra -Werror -Wmissing-declarations -fdiagnostics-color=always \
-O2 -pipe -fno-plt -fexceptions \
-Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
-fstack-clash-protection -fcf-protection")
-fstack-clash-protection -fcf-protection -g")
set(SOURCE_FILES
menu_os.h

@ -263,7 +263,7 @@ void MainWindow::settings() {
vector<string> os_control_list;
this->pars_os(os_control_list);
this->download_local_cfg();
this->download_globl_cfg();
// this->download_globl_cfg();
vector<tuple<string, vector<string>>> vec_list_os = format_os_list(os_control_list);
obj_menu_os.set_main_revealer(revilerMenuOS);
obj_menu_os.set_builder(builder, path_glade);

Loading…
Cancel
Save