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

Method clearDisplay

src/gui/SpectrumWidget.cpp:3566–3578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3564// ─────────────────────────────────────────────────────────────────────────────
3565
3566void SpectrumWidget::clearDisplay()
3567{
3568 m_bins.clear();
3569 m_smoothed.clear();
3570 clearWaterfallRows();
3571 m_hasNativeWaterfall = false;
3572 m_lastNativeTileMs = 0;
3573 m_waterfallFallbackActive = false;
3574 m_nextFallbackWaterfallRowMs = 0;
3575 const int graceMs = nativeWaterfallFallbackHoldMs(waterfallFallbackIntervalMs());
3576 m_nativeWaterfallFallbackHoldUntilMs = QDateTime::currentMSecsSinceEpoch() + graceMs;
3577 markOverlayDirty();
3578}
3579
3580void SpectrumWidget::clearCurrentWaterfallRows()
3581{

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected