# HG changeset patch # User Chris Cannam # Date 1485465479 0 # Node ID 366ffdf719cd1c3547a61a81c9a4600563272276 # Parent 491dd600570c950418ad6f2a7f12c7a93baf5737 Fix silly definition that prevented spectrum scale from appearing diff -r 491dd600570c -r 366ffdf719cd layer/SpectrumLayer.h --- a/layer/SpectrumLayer.h Thu Jan 26 21:17:36 2017 +0000 +++ b/layer/SpectrumLayer.h Thu Jan 26 21:17:59 2017 +0000 @@ -93,8 +93,6 @@ void setShowPeaks(bool); bool getShowPeaks() const { return m_showPeaks; } - virtual int getVerticalScaleWidth(LayerGeometryProvider *, bool, QPainter &) const { return 0; } - virtual void toXml(QTextStream &stream, QString indent = "", QString extraAttributes = "") const;