MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / setPositionSource

Method setPositionSource

src/settings.cpp:376–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

374
375
376void Settings::setPositionSource(const QString& name)
377{
378 if (name != sensors.position_source)
379 {
380 sensors.position_source = name;
381 QSettings().setValue(QLatin1String("Sensors/position_source"), name);
382 emit settingsChanged();
383 }
384}
385
386void Settings::setNmeaSerialPort(const QString& name)
387{

Callers 1

applyMethod · 0.80

Calls 3

QLatin1StringClass · 0.85
setValueMethod · 0.80
QSettingsClass · 0.70

Tested by

no test coverage detected