comparison src/core/config.cc @ 221:53211cb1e7f5

library: add initial library stuff nice
author Paper <paper@paper.us.eu.org>
date Mon, 08 Jan 2024 13:21:08 -0500
parents bc1ae1810855
children 84e0a3c4737a
comparison
equal deleted inserted replaced
220:79a87a6dd39d 221:53211cb1e7f5
22 22
23 #include <QFile> 23 #include <QFile>
24 #include <QTextStream> 24 #include <QTextStream>
25 25
26 /* I'll use an INI-based config file instead of using an 26 /* I'll use an INI-based config file instead of using an
27 XML file like Taiga. */ 27 * XML file like Taiga.
28 */
28 29
29 int Config::Load() { 30 int Config::Load() {
30 std::filesystem::path cfg_path = Filesystem::GetConfigPath(); 31 std::filesystem::path cfg_path = Filesystem::GetConfigPath();
31 32
32 mINI::INIFile file(cfg_path.string()); 33 mINI::INIFile file(cfg_path.string());