mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
Corrected device display name channel handling
This commit is contained in:
@@ -79,7 +79,8 @@ PluginInterface::SamplingDevices SoapySDRInputPlugin::enumSampleSources(const Or
|
||||
|
||||
for (unsigned int ichan = 0; ichan < nbRxChannels; ichan++)
|
||||
{
|
||||
QString displayedName(it->displayableName.arg(ichan));
|
||||
QString displayedName = it->displayableName;
|
||||
displayedName.replace(QString("$1]"), QString("%1]").arg(ichan));
|
||||
qDebug("SoapySDRInputPlugin::enumSampleSources: device #%d serial %s channel %u",
|
||||
it->sequence, it->serial.toStdString().c_str(), ichan);
|
||||
result.append(SamplingDevice(
|
||||
|
||||
Reference in New Issue
Block a user