mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 14:04:46 -04:00
Web API: fixed webapiSettingsGet not initializing own channel or device structure
This commit is contained in:
@@ -353,7 +353,7 @@ int FileSourceInput::webapiSettingsGet(
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
{
|
||||
response.setFileSourceSettings(new SWGSDRangel::SWGFileSourceSettings());
|
||||
*response.getFileSourceSettings()->getFileName() = m_settings.m_fileName;
|
||||
response.getFileSourceSettings()->setFileName(new QString(m_settings.m_fileName));
|
||||
return 200;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user