| 284 | } |
| 285 | |
| 286 | void Manager::applySettings(const Settings &settings) |
| 287 | { |
| 288 | SOFT_ASSERT(settings_, return ); |
| 289 | const auto lastUpdate = settings_->lastUpdateCheck; // not handled in editor |
| 290 | |
| 291 | *settings_ = settings; |
| 292 | |
| 293 | settings_->lastUpdateCheck = lastUpdate; |
| 294 | |
| 295 | settings_->save(); |
| 296 | updateSettings(); |
| 297 | } |
| 298 | |
| 299 | void Manager::fatalError(const QString &text) |
| 300 | { |
no test coverage detected