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

Method ShowModal

qt/routing_settings_dialog.cpp:221–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221void RoutingSettings::ShowModal()
222{
223 if (exec() != QDialog::Accepted)
224 return;
225
226 if (!SaveSettings())
227 {
228 ShowMessage("Bad start or finish coords input.");
229 ShowModal();
230 return;
231 }
232
233 int const routerType = m_routerType->currentIndex();
234 m_framework.GetRoutingManager().SetRouter(static_cast<routing::RouterType>(routerType));
235}
236} // namespace qt

Callers

nothing calls this directly

Calls 1

SetRouterMethod · 0.45

Tested by

no test coverage detected