MCPcopy Create free account
hub / github.com/comaps/comaps / SaveSettings

Method SaveSettings

qt/routing_settings_dialog.cpp:185–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185bool RoutingSettings::SaveSettings()
186{
187 settings::Set(kShowTurnsSettings, m_showTurnsCheckbox->isChecked());
188 settings::Set(kUseDebugGuideSettings, m_useDebugGuideCheckbox->isChecked());
189 settings::Set(kUseCachedRoutingSettings, m_saveSessionCheckbox->isChecked());
190 settings::Set(kRouterTypeCachedSettings, m_routerType->currentIndex());
191 return ValidateAndSaveCoordsFromInput();
192}
193
194void RoutingSettings::LoadSettings()
195{

Callers

nothing calls this directly

Calls 2

SetFunction · 0.50
isCheckedMethod · 0.45

Tested by

no test coverage detected