MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / describeImportedMemory

Function describeImportedMemory

src/gui/MemoryDialog.cpp:289–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287}
288
289QString describeImportedMemory(const MemoryEntry& memory)
290{
291 const QString label = memory.name.trimmed();
292 if (!label.isEmpty())
293 return QString("%1 (%2 MHz)").arg(label, QString::number(memory.freq, 'f', 6));
294 if (memory.freq > 0.0)
295 return QString("%1 MHz").arg(QString::number(memory.freq, 'f', 6));
296 return "Unnamed memory";
297}
298
299QString formatImportIssue(const QString& rowLabel,
300 const QString& message,

Callers 1

onImportMethod · 0.85

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected