summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/TimeDomainDisplayPlot.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-qtgui/lib/TimeDomainDisplayPlot.h')
-rw-r--r--gr-qtgui/lib/TimeDomainDisplayPlot.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gr-qtgui/lib/TimeDomainDisplayPlot.h b/gr-qtgui/lib/TimeDomainDisplayPlot.h
index 6c7fc4330..1f3f2c574 100644
--- a/gr-qtgui/lib/TimeDomainDisplayPlot.h
+++ b/gr-qtgui/lib/TimeDomainDisplayPlot.h
@@ -65,11 +65,11 @@ public slots:
void SetSampleRate(double sr, double units,
const std::string &strunits);
-#if QWT_VERSION < 0x060000
+ // Because of the preprocessing of slots in QT, these are no
+ // easily separated by the version check. Make one for each
+ // version until it's worked out.
void OnPickerPointSelected(const QwtDoublePoint & p);
-#else
- void OnPickerPointSelected(const QPointF & p);
-#endif
+ void OnPickerPointSelected6(const QPointF & p);
signals:
void plotPointSelected(const QPointF p);