diff options
author | Tom Rondeau | 2011-04-23 10:59:36 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-04-23 10:59:36 -0400 |
commit | 8b7b6e297e0d929aac2a604229a675d7fa46c3b1 (patch) | |
tree | ab1a81ca0feab44230ed047cc960176ea9fadb9a /gr-qtgui/lib | |
parent | 75162ae5263e215ac99daa595b89ea6736a7c6dc (diff) | |
download | gnuradio-8b7b6e297e0d929aac2a604229a675d7fa46c3b1.tar.gz gnuradio-8b7b6e297e0d929aac2a604229a675d7fa46c3b1.tar.bz2 gnuradio-8b7b6e297e0d929aac2a604229a675d7fa46c3b1.zip |
gr-qtgui: no need to check the version here since we require >4.4
Diffstat (limited to 'gr-qtgui/lib')
-rw-r--r-- | gr-qtgui/lib/TimeDomainDisplayPlot.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gr-qtgui/lib/TimeDomainDisplayPlot.cc b/gr-qtgui/lib/TimeDomainDisplayPlot.cc index 86aa8533e..9e7b796e8 100644 --- a/gr-qtgui/lib/TimeDomainDisplayPlot.cc +++ b/gr-qtgui/lib/TimeDomainDisplayPlot.cc @@ -144,13 +144,8 @@ TimeDomainDisplayPlot::TimeDomainDisplayPlot(QWidget* parent):QwtPlot(parent) _sampleRate = 1; _resetXAxisPoints(); -#if QT_VERSION < 0x040000 _zoomer->setMousePattern(QwtEventPattern::MouseSelect2, Qt::RightButton, Qt::ControlModifier); -#else - _zoomer->setMousePattern(QwtEventPattern::MouseSelect2, - Qt::RightButton, Qt::ControlModifier); -#endif _zoomer->setMousePattern(QwtEventPattern::MouseSelect3, Qt::RightButton); @@ -186,12 +181,12 @@ TimeDomainDisplayPlot::TimeDomainDisplayPlot(QWidget* parent):QwtPlot(parent) this, SLOT( LegendEntryChecked(QwtPlotItem *, bool ) )); } -TimeDomainDisplayPlot::~TimeDomainDisplayPlot(){ +TimeDomainDisplayPlot::~TimeDomainDisplayPlot() +{ delete[] _realDataPoints; delete[] _imagDataPoints; delete[] _xAxisPoints; - // _fft_plot_curves deleted when parent deleted // _zoomer and _panner deleted when parent deleted } |