diff options
Diffstat (limited to 'src/Config.cpp')
-rw-r--r-- | src/Config.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Config.cpp b/src/Config.cpp index fe4e984..c79249d 100644 --- a/src/Config.cpp +++ b/src/Config.cpp @@ -309,6 +309,11 @@ namespace QuickMedia { get_json_value(mangadex_json, "allow_hentai", config->mangadex.allow_hentai); } + const Json::Value &file_manager_json = json_root["file_manager"]; + if(file_manager_json.isObject()) { + get_json_value(file_manager_json, "grid_view", config->file_manager.grid_view); + } + get_json_value(json_root, "use_system_fonts", config->use_system_fonts); get_json_value(json_root, "use_system_mpv_config", config->use_system_mpv_config); get_json_value(json_root, "enable_shaders", config->enable_shaders); |