mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 06:04:39 -04:00
New preset design: changed device registration
This commit is contained in:
@@ -59,7 +59,11 @@ PluginInterface::SampleSourceDevices FileSourcePlugin::enumSampleSources()
|
||||
SimpleSerializer s(1);
|
||||
s.writeS32(1, i);
|
||||
s.writeString(2, "");
|
||||
result.append(SampleSourceDevice(displayedName, "org.osmocom.sdr.samplesource.filesource", s.final()));
|
||||
|
||||
result.append(SampleSourceDevice(displayedName,
|
||||
"org.osmocom.sdr.samplesource.filesource",
|
||||
QString::null,
|
||||
i));
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user