diff options
author | Josh Morman <jmorman@peratonlabs.com> | 2021-10-14 10:34:01 -0400 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-10-14 12:16:39 -0400 |
commit | d08452d671d0f73ac94114b9627b2d340e68c012 (patch) | |
tree | 187745c69cec4f69abaefc39423001942e7ca0f5 /gr-qtgui/lib/plot_waterfall.cc | |
parent | 39a8c4a36e1b354943dd1e2e818446a63065abce (diff) |
qtgui: revert "qt-gui: enables use of Qwt 6.2"
This reverts commit cf04ca2132d6eff7f807a10141596389afcfbcd5.
Signed-off-by: Josh Morman <jmorman@peratonlabs.com>
Diffstat (limited to 'gr-qtgui/lib/plot_waterfall.cc')
-rw-r--r-- | gr-qtgui/lib/plot_waterfall.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gr-qtgui/lib/plot_waterfall.cc b/gr-qtgui/lib/plot_waterfall.cc index 94c44051d6..ff47ea2003 100644 --- a/gr-qtgui/lib/plot_waterfall.cc +++ b/gr-qtgui/lib/plot_waterfall.cc @@ -240,11 +240,7 @@ QImage PlotWaterfall::renderImage(const QwtScaleMap& xMap, } } } else if (d_data->colorMap->format() == QwtColorMap::Indexed) { -#if QWT_VERSION >= 0x060200 - image.setColorTable(d_data->colorMap->colorTable(256)); -#else image.setColorTable(d_data->colorMap->colorTable(intensityRange)); -#endif for (int y = rect.top(); y <= rect.bottom(); y++) { const double ty = yyMap.invTransform(y); @@ -253,13 +249,8 @@ QImage PlotWaterfall::renderImage(const QwtScaleMap& xMap, for (int x = rect.left(); x <= rect.right(); x++) { const double tx = xxMap.invTransform(x); -#if QWT_VERSION >= 0x060200 - *line++ = d_data->colorMap->colorIndex( - 256, intensityRange, d_data->data->value(tx, ty)); -#else *line++ = d_data->colorMap->colorIndex(intensityRange, d_data->data->value(tx, ty)); -#endif } } } |