mirror of
https://github.com/miek/inspectrum.git
synced 2026-03-04 07:24:21 +01:00
plot: Cache tile pixmaps
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include <QApplication>
|
||||
#include <QDebug>
|
||||
#include <QPainter>
|
||||
#include <QPixmapCache>
|
||||
#include <QScrollBar>
|
||||
#include <gnuradio/top_block.h>
|
||||
#include <gnuradio/analog/quadrature_demod_cf.h>
|
||||
@@ -238,6 +239,9 @@ void PlotView::tunerMoved()
|
||||
plotFilter->set_center_freq(centre);
|
||||
plotFilter->set_taps(lp_taps);
|
||||
|
||||
// TODO: for invalidating traceplot cache, this shouldn't really go here
|
||||
QPixmapCache::clear();
|
||||
|
||||
viewport()->update();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user