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

Method settings

src/manager.cpp:339–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337}
338
339void Manager::settings()
340{
341 SettingsEditor editor(*this, *updater_);
342
343 SOFT_ASSERT(settings_, return );
344 editor.setSettings(*settings_);
345
346 tray_->blockActions(true);
347 auto result = editor.exec();
348 tray_->blockActions(false);
349
350 if (result != QDialog::Accepted)
351 return;
352
353 tray_->resetFatalError();
354
355 const auto edited = editor.settings();
356 applySettings(edited);
357}
358
359void Manager::showLast()
360{

Callers 1

contextMenuMethod · 0.45

Calls 3

setSettingsMethod · 0.80
blockActionsMethod · 0.80
resetFatalErrorMethod · 0.80

Tested by

no test coverage detected