| 663 | } |
| 664 | |
| 665 | void 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 | |
| 674 | QString Settings::getConnectedDeviceName() |
| 675 | { |