MCPcopy Create free account
hub / github.com/TranslucentTB/TranslucentTB / ResetSettingsRequested

Method ResetSettingsRequested

TranslucentTB/mainappwindow.cpp:216–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216void MainAppWindow::ResetSettingsRequested()
217{
218 auto &manager = m_App.GetConfigManager();
219 manager.GetConfig() = { };
220
221 manager.UpdateVerbosity();
222 m_App.GetWorker().ConfigurationChanged();
223 ConfigurationChanged();
224}
225
226void MainAppWindow::DisableSavingSettingsChanged(bool disabled) noexcept
227{

Callers 1

RegisterMenuHandlersMethod · 0.80

Calls 3

GetConfigMethod · 0.80
UpdateVerbosityMethod · 0.80
ConfigurationChangedMethod · 0.45

Tested by

no test coverage detected