diff options
author | Tom Rondeau <trondeau@vt.edu> | 2010-05-01 20:04:13 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2010-05-01 20:04:13 -0400 |
commit | e0df16cf6f62dd0745530955481df8c3eecc9cb2 (patch) | |
tree | 03cba2e7efa9c3f103e8e15d91317c3fe40f2586 /gr-qtgui/src/lib/WaterfallDisplayPlot.cc | |
parent | e93a81a1f346f1fdef218b115c99f547ccd7ad27 (diff) |
Fixing constellation zoomer's label.
Diffstat (limited to 'gr-qtgui/src/lib/WaterfallDisplayPlot.cc')
-rw-r--r-- | gr-qtgui/src/lib/WaterfallDisplayPlot.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gr-qtgui/src/lib/WaterfallDisplayPlot.cc b/gr-qtgui/src/lib/WaterfallDisplayPlot.cc index 3d173cfe37..f53d3181c2 100644 --- a/gr-qtgui/src/lib/WaterfallDisplayPlot.cc +++ b/gr-qtgui/src/lib/WaterfallDisplayPlot.cc @@ -160,7 +160,8 @@ private: }; -class WaterfallZoomer: public QwtPlotZoomer, public TimeScaleData, public FreqOffsetAndPrecisionClass +class WaterfallZoomer: public QwtPlotZoomer, public TimeScaleData, + public FreqOffsetAndPrecisionClass { public: WaterfallZoomer(QwtPlotCanvas* canvas, const unsigned int freqPrecision) @@ -197,9 +198,9 @@ protected: timeTm.tm_mday, timeTm.tm_hour, timeTm.tm_min, timeTm.tm_sec, lineTime.tv_nsec/1000000)); - QwtText t(QString("%1 %2, %3").arg(p.x(), 0, 'f', - GetFrequencyPrecision()).arg(_unitType.c_str()).arg(yLabel)); - + QwtText t(QString("%1 %2, %3"). + arg(p.x(), 0, 'f', GetFrequencyPrecision()). + arg(_unitType.c_str()).arg(yLabel)); return t; } |