1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-03 06:24:48 -04:00

Fixed swagger generation to fix null pointer exception with QLists

This commit is contained in:
f4exb
2019-08-04 02:50:32 +02:00
parent 4b493da226
commit 16e9684118
149 changed files with 4246 additions and 1445 deletions
+5
View File
@@ -96,6 +96,11 @@ void WebAPIAdapterBase::webapiFormatPreset(
swgdeviceConfigs->back()->setDeviceSequence(deviceConfig.m_deviceSequence);
const QByteArray& deviceSettings = deviceConfig.m_config;
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = swgdeviceConfigs->back()->getConfig();
// qDebug("WebAPIAdapterBase::webapiFormatPreset: preset: %s:%s(%lld) device: %s",
// qPrintable(preset.getGroup()),
// qPrintable(preset.getDescription()),
// preset.getCenterFrequency(),
// qPrintable(deviceConfig.m_deviceId));
swgDeviceSettings->init();
DeviceWebAPIAdapter *deviceWebAPIAdapter = m_webAPIDeviceAdapters.getDeviceWebAPIAdapter(deviceConfig.m_deviceId, m_pluginManager);