MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / secondsToString

Function secondsToString

Default/FFT/FFTWidget.cpp:433–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431}
432
433static QString
434secondsToString(unsigned int seconds)
435{
436 if (seconds < 60)
437 return QString::number(seconds) + " seconds";
438 if (seconds < 3600)
439 return QString::number(seconds / 60) + " minutes";
440
441 return QString::number(seconds / 3600) + " hours";
442}
443
444void
445FFTWidget::updateTimeSpans(void)

Callers 1

updateTimeSpansMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected