Mercurial > hg > svgui
diff layer/LinearNumericalScale.cpp @ 805:1d526ba11a24 warnfix_no_size_t
Remove size_t's and fix warnings in layer/
author | Chris Cannam |
---|---|
date | Tue, 17 Jun 2014 15:18:06 +0100 |
parents | 1a1448f7beb2 |
children | 3ca3b8fbbcee |
line wrap: on
line diff
--- a/layer/LinearNumericalScale.cpp Tue Jun 03 11:10:52 2014 +0100 +++ b/layer/LinearNumericalScale.cpp Tue Jun 17 15:18:06 2014 +0100 @@ -23,7 +23,7 @@ #include "view/View.h" int -LinearNumericalScale::getWidth(View *v, +LinearNumericalScale::getWidth(View *, QPainter &paint) { return paint.fontMetrics().width("-000.00") + 10; @@ -37,8 +37,6 @@ float minf, float maxf) { - int h = v->height(); - int n = 10; float val = minf;