1 diff --git a/include/srsgui/common/WaterfallData.h b/include/srsgui/common/WaterfallData.h
2 index a289c6d..5cde564 100755
3 --- a/include/srsgui/common/WaterfallData.h
4 +++ b/include/srsgui/common/WaterfallData.h
6 #define WATERFALLDATA_H
8 #include <qwt_raster_data.h>
9 +#include <qwt_interval.h>
11 #include <boost/circular_buffer.hpp>
12 #include <boost/shared_ptr.hpp>
13 @@ -65,6 +66,16 @@ public:
14 return *(std::min_element(minVec.begin(),minVec.end()));
17 + QwtInterval interval( Qt::Axis axis) const
19 + return d_intervals[axis];
22 + void setInterval( Qt::Axis axis, const QwtInterval &interval )
24 + d_intervals[axis] = interval;
27 double value(double x, double y) const
29 double bottom = interval(Qt::YAxis).minValue();
30 @@ -88,6 +99,7 @@ private:
34 + QwtInterval d_intervals[3];
37 #endif // WATERFALLDATA_H
38 diff --git a/src/common/Spectrogramplot.cpp b/src/common/Spectrogramplot.cpp
39 index ca9fad9..92a25d5 100755
40 --- a/src/common/Spectrogramplot.cpp
41 +++ b/src/common/Spectrogramplot.cpp
43 #include <qwt_plot_canvas.h>
44 #include "srsgui/common/Spectrogramplot.h"
48 class MyZoomer: public QwtPlotZoomer
51 @@ -101,8 +103,8 @@ Spectrogramplot::Spectrogramplot(int numDataPoints, int numRows, QWidget *parent
52 sd->setMinimumExtent( fm.width("100.00") );
54 const QColor c(Qt::darkBlue);
55 - zoomer_->setRubberBandPen(c);
56 - zoomer_->setTrackerPen(c);
57 + zoomer_->setRubberBandPen(QPen(c));
58 + zoomer_->setTrackerPen(QPen(c));
61 void Spectrogramplot::appendData(double* data, int n)