MCPcopy Create free account
hub / github.com/Atarity/Lightpack / setConnectedDevice

Method setConnectedDevice

Software/src/Settings.cpp:665–672  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

663}
664
665void Settings::setConnectedDevice(SupportedDevices::DeviceType device)
666{
667 DEBUG_LOW_LEVEL << Q_FUNC_INFO;
668 QString deviceName = m_devicesTypeToNameMap.value(device, Main::ConnectedDeviceDefault);
669
670 setValueMain(Main::Key::ConnectedDevice, deviceName);
671 m_this->connectedDeviceChanged(device);
672}
673
674QString Settings::getConnectedDeviceName()
675{

Callers

nothing calls this directly

Calls 1

valueMethod · 0.80

Tested by

no test coverage detected