| 246 | } |
| 247 | |
| 248 | void load() |
| 249 | { |
| 250 | auto map = ConfigIO::readFile(AppConfig::instance().getDspConfPath()); |
| 251 | |
| 252 | if (map.count() < 1) |
| 253 | { |
| 254 | Log::debug("Empty config file, using defaults"); |
| 255 | loadDefault(); |
| 256 | return; |
| 257 | } |
| 258 | |
| 259 | _conf->setConfigMap(map); |
| 260 | emit configBuffered(); |
| 261 | emit updated(this); |
| 262 | } |
| 263 | |
| 264 | void load(const QString &string) |
| 265 | { |
nothing calls this directly
no test coverage detected