Mercurial > hg > svgui
diff layer/Layer.h @ 722:dd64efa0dac8 tonioni
Avoid compiler warnings
author | Chris Cannam |
---|---|
date | Tue, 04 Feb 2014 13:54:42 +0000 |
parents | 8663a831838f |
children | 1d526ba11a24 |
line wrap: on
line diff
--- a/layer/Layer.h Thu Jan 30 17:33:18 2014 +0000 +++ b/layer/Layer.h Tue Feb 04 13:54:42 2014 +0000 @@ -131,7 +131,7 @@ virtual int getVerticalScaleWidth(View *, bool detailed, QPainter &) const = 0; - virtual void paintVerticalScale(View *, bool detailed, + virtual void paintVerticalScale(View *, bool /* detailed */, QPainter &, QRect) const { } virtual bool getCrosshairExtents(View *, QPainter &, QPoint /* cursorPos */, @@ -150,7 +150,7 @@ return ""; } - virtual QString getLabelPreceding(size_t frame) const { + virtual QString getLabelPreceding(size_t /* frame */) const { return ""; } @@ -231,7 +231,7 @@ virtual void splitStart(View *, QMouseEvent *) { } virtual void splitEnd(View *, QMouseEvent *) { } - virtual void addNote(View *v, QMouseEvent *e) { }; + virtual void addNote(View *, QMouseEvent *) { }; // Measurement rectangle (or equivalent). Unlike draw and edit, // the base Layer class can provide working implementations of