diff options
Diffstat (limited to 'gr-qtgui/lib/waterfalldisplayform.cc')
-rw-r--r-- | gr-qtgui/lib/waterfalldisplayform.cc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gr-qtgui/lib/waterfalldisplayform.cc b/gr-qtgui/lib/waterfalldisplayform.cc index e599b97d07..4ada967d90 100644 --- a/gr-qtgui/lib/waterfalldisplayform.cc +++ b/gr-qtgui/lib/waterfalldisplayform.cc @@ -66,13 +66,13 @@ WaterfallDisplayForm::WaterfallDisplayForm(int nplots, QWidget* parent) // Now create our own menus for(int i = 0; i < nplots; i++) { ColorMapMenu *colormap = new ColorMapMenu(i, this); - connect(colormap, SIGNAL(whichTrigger(int, const int, const QColor&, const QColor&)), - this, SLOT(setColorMap(int, const int, const QColor&, const QColor&))); + connect(colormap, SIGNAL(whichTrigger(unsigned int, const int, const QColor&, const QColor&)), + this, SLOT(setColorMap(unsigned int, const int, const QColor&, const QColor&))); d_lines_menu[i]->addMenu(colormap); d_marker_alpha_menu.push_back(new MarkerAlphaMenu(i, this)); - connect(d_marker_alpha_menu[i], SIGNAL(whichTrigger(int, int)), - this, SLOT(setAlpha(int, int))); + connect(d_marker_alpha_menu[i], SIGNAL(whichTrigger(unsigned int, unsigned int)), + this, SLOT(setAlpha(unsigned int, unsigned int))); d_lines_menu[i]->addMenu(d_marker_alpha_menu[i]); } @@ -257,7 +257,7 @@ WaterfallDisplayForm::setColorMap(unsigned int which, } void -WaterfallDisplayForm::setAlpha(unsigned int which, int alpha) +WaterfallDisplayForm::setAlpha(unsigned int which, unsigned int alpha) { getPlot()->setAlpha(which, alpha); getPlot()->replot(); @@ -364,4 +364,3 @@ WaterfallDisplayForm::setUpdateTime(double t) // This is the case when plotting using gr_spectrogram_plot d_time_per_fft = t; } - |