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

Function prefixedVersion

src/gui/RadioSetupDialog.cpp:270–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270static QString prefixedVersion(const QString& version)
271{
272 const QString trimmed = version.trimmed();
273 if (trimmed.isEmpty()) {
274 return QStringLiteral("—");
275 }
276 if (trimmed.startsWith(QLatin1Char('v'), Qt::CaseInsensitive)) {
277 return trimmed;
278 }
279 return QStringLiteral("v%1").arg(trimmed);
280}
281
282static QString radioOptionsText(const RadioModel* model)
283{

Callers 1

buildRadioTabMethod · 0.85

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected