MCPcopy Create free account
hub / github.com/OneMoreGres/ScreenTranslator / applySettings

Method applySettings

src/manager.cpp:286–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284}
285
286void 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
299void Manager::fatalError(const QString &text)
300{

Callers 1

Calls 1

saveMethod · 0.45

Tested by

no test coverage detected