diff layer/SliceLayer.h @ 1390:3c99083a4d83 spectrogramparam

Move layer name text up a bit when rendering on a layer with a horizontal scale (i.e. spectrum)
author Chris Cannam
date Tue, 13 Nov 2018 14:48:42 +0000
parents 1eb560b363e7
children decb7741d036
line wrap: on
line diff
--- a/layer/SliceLayer.h	Tue Nov 13 14:06:48 2018 +0000
+++ b/layer/SliceLayer.h	Tue Nov 13 14:48:42 2018 +0000
@@ -43,8 +43,6 @@
     virtual int getVerticalScaleWidth(LayerGeometryProvider *v, bool, QPainter &) const;
     virtual void paintVerticalScale(LayerGeometryProvider *v, bool, QPainter &paint, QRect rect) const;
 
-    virtual int getHorizontalScaleHeight(LayerGeometryProvider *, QPainter &) const { return 0; }
-
     virtual ColourSignificance getLayerColourSignificance() const {
         return ColourAndBackgroundSignificant;
     }