1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 09:48:45 -05:00

ValueDialZ: added missing inter-wheel gap

This commit is contained in:
f4exb 2017-07-01 23:16:29 +02:00
parent 5ab5989e7f
commit 160307fe23

View File

@ -211,7 +211,7 @@ void ValueDialZ::paintEvent(QPaintEvent*)
painter.setPen(m_colorMapper.getBoundaryColor());
painter.setBrush(Qt::NoBrush);
for (int i = 1; i < m_numDigits + m_numDecimalPoints; i++)
for (int i = 1; i < 1 + m_numDigits + m_numDecimalPoints; i++)
{
painter.setPen(m_colorMapper.getBoundaryColor());
painter.drawLine(1 + i * m_digitWidth, 1, 1 + i * m_digitWidth, height() - 1);