diff options
author | Marcus Müller <mmueller@gnuradio.org> | 2020-04-11 01:25:03 +0200 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2020-04-13 15:55:41 +0200 |
commit | 002439571af6db39a1a90fd72dd69495709bbf21 (patch) | |
tree | 0605d0e866580dec704cfdf452ff52156b107ade | |
parent | 916739a20e33ab9323947f17b28d9eb256e498a0 (diff) |
qtgui: replace stderr logging by calls to GR's logging facilties
-rw-r--r-- | gr-qtgui/lib/timerasterdisplayform.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gr-qtgui/lib/timerasterdisplayform.cc b/gr-qtgui/lib/timerasterdisplayform.cc index 89b8d4dc14..3ce29731b5 100644 --- a/gr-qtgui/lib/timerasterdisplayform.cc +++ b/gr-qtgui/lib/timerasterdisplayform.cc @@ -8,26 +8,26 @@ * */ +#include <gnuradio/logger.h> #include <gnuradio/qtgui/timerasterdisplayform.h> #include <QColorDialog> #include <QMessageBox> #include <cmath> -#include <iostream> TimeRasterDisplayForm::TimeRasterDisplayForm( int nplots, double samp_rate, double rows, double cols, double zmax, QWidget* parent) : DisplayForm(nplots, parent) { #if QWT_VERSION < 0x060000 - std::cerr - << "Warning: QWT5 has been found which has serious performance issues with " - "raster plots." - << std::endl - << " Consider updating to QWT version 6 to use the time raster GUIs." - << std::endl - << std::endl; + gr::logger_ptr logger, debug_logger; + gr::configure_default_loggers(logger, debug_logger, "timerasterdisplayform"); + + GR_LOG_WARN( + logger, + "Warning: QWT5 has been found which has serious performance issues with raster " + "plots. Consider updating to QWT version 6 to use the time raster GUIs."); #endif d_layout = new QGridLayout(this); |