Make all plots subscribe to their sources

This commit is contained in:
Mike Walters
2017-02-02 19:02:16 +00:00
parent 8d50ca6cb8
commit d37ae128ef
4 changed files with 15 additions and 4 deletions

View File

@@ -47,7 +47,6 @@ SpectrogramPlot::SpectrogramPlot(std::shared_ptr<SampleSource<std::complex<float
tunerTransform = std::make_shared<TunerTransform>(src);
connect(&tuner, &Tuner::tunerMoved, this, &SpectrogramPlot::tunerMoved);
src->subscribe(this);
}
void SpectrogramPlot::invalidateEvent()