diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-28 13:45:27 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-28 13:45:27 +0200 |
commit | 08d0eed13d335e26b1cdc6a294d4c1694c623847 (patch) | |
tree | 2c9a087807bc73db7ff452ca076940084f3d15ca /qfunctionconfigurator/qfunctionconfigurator.cpp | |
parent | aa18be8e6afb8e216dc6f4bc5068e653c52b60db (diff) |
Make the UI useful for both IHT and regular tracker
Diffstat (limited to 'qfunctionconfigurator/qfunctionconfigurator.cpp')
-rw-r--r-- | qfunctionconfigurator/qfunctionconfigurator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qfunctionconfigurator/qfunctionconfigurator.cpp b/qfunctionconfigurator/qfunctionconfigurator.cpp index 555d0cf6..e3eb962b 100644 --- a/qfunctionconfigurator/qfunctionconfigurator.cpp +++ b/qfunctionconfigurator/qfunctionconfigurator.cpp @@ -218,7 +218,7 @@ QRect scale; // // Draw the vertical guidelines // - for (i = range.left(); i <= range.right(); i += gDistEGU_Input * pPerEGU_Input * 2) { + for (i = range.left(); i <= range.right(); i += gDistEGU_Input * pPerEGU_Input) { drawLine(&painter, QPointF(i, range.top()), QPointF(i, range.bottom()), pen); scale.setCoords(i - 10, range.bottom() + 2, i + 10, range.bottom() + 15); painter.drawText(scale, Qt::AlignCenter, tr("%1").arg(abs(((range.left() - i))/pPerEGU_Input))); |