summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/DisplayPlot.cc
diff options
context:
space:
mode:
authorMarcus Müller <mmueller@gnuradio.org>2021-01-25 22:23:49 +0100
committermormj <34754695+mormj@users.noreply.github.com>2021-01-27 08:10:35 -0500
commitb47544890b045a8e7bb15386e08e046e9afbd193 (patch)
treeeae700277b99a174fa2248c359e2e60ef6176abd /gr-qtgui/lib/DisplayPlot.cc
parent67f52885880af77d342219cd673a039ae476dfcc (diff)
Qt: deprecated MidButton->MiddleButton, available since Qt4.7
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
Diffstat (limited to 'gr-qtgui/lib/DisplayPlot.cc')
-rw-r--r--gr-qtgui/lib/DisplayPlot.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-qtgui/lib/DisplayPlot.cc b/gr-qtgui/lib/DisplayPlot.cc
index 8c115c8b8c..5be0431d97 100644
--- a/gr-qtgui/lib/DisplayPlot.cc
+++ b/gr-qtgui/lib/DisplayPlot.cc
@@ -44,7 +44,7 @@ DisplayPlot::DisplayPlot(int nplots, QWidget* parent)
d_panner = new QwtPlotPanner(canvas());
d_panner->setAxisEnabled(QwtPlot::yRight, false);
- d_panner->setMouseButton(Qt::MidButton, Qt::ControlModifier);
+ d_panner->setMouseButton(Qt::MiddleButton, Qt::ControlModifier);
// emit the position of clicks on widget
d_picker = new QwtDblClickPlotPicker(canvas());