| 130 | } |
| 131 | |
| 132 | void AppConfig::load() |
| 133 | { |
| 134 | auto map = ConfigIO::readFile(getPath("application.conf")); |
| 135 | _appconf->setConfigMap(map); |
| 136 | |
| 137 | for(const auto& key : map.keys()) |
| 138 | { |
| 139 | auto ekey = static_cast<Key>(QMetaEnum::fromType<Key>().keyToValue(key.toLocal8Bit().constData())); |
| 140 | emit updated(ekey, map[key]); |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | QString AppConfig::getGraphicEqStatePath() |
| 145 | { |
no test coverage detected