Mercurial > hg > svgui
diff layer/SpectrumLayer.cpp @ 1251:9e1559b08f0d
Fix a couple of compiler warnings
author | Chris Cannam |
---|---|
date | Tue, 28 Feb 2017 14:47:13 +0000 |
parents | 4d0ca1ab4cd0 |
children | 5a10e9d924d4 |
line wrap: on
line diff
--- a/layer/SpectrumLayer.cpp Tue Feb 28 14:33:31 2017 +0000 +++ b/layer/SpectrumLayer.cpp Tue Feb 28 14:47:13 2017 +0000 @@ -415,8 +415,6 @@ paint.setPen(mapper.getContrastingColour()); int xorigin = m_xorigins[v->getId()]; - int w = v->getPaintWidth() - xorigin - 1; - paint.drawLine(xorigin, cursorPos.y(), v->getPaintWidth(), cursorPos.y()); paint.drawLine(cursorPos.x(), cursorPos.y(), cursorPos.x(), v->getPaintHeight());