summaryrefslogtreecommitdiffhomepage
path: root/qfunctionconfigurator/qfunctionconfigurator.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-01-12 18:50:54 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-01-12 18:50:54 +0100
commit6e822bf3984270ead48249714f2cd77747fc2383 (patch)
treee03e378966eb9741c9d5dba19ceffa9da61363f8 /qfunctionconfigurator/qfunctionconfigurator.cpp
parentc2b5f86e85698068bd92de0e59e4f7b90c04cd60 (diff)
display current value in qfc correctly
Diffstat (limited to 'qfunctionconfigurator/qfunctionconfigurator.cpp')
-rw-r--r--qfunctionconfigurator/qfunctionconfigurator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qfunctionconfigurator/qfunctionconfigurator.cpp b/qfunctionconfigurator/qfunctionconfigurator.cpp
index 6540e66f..b959b56c 100644
--- a/qfunctionconfigurator/qfunctionconfigurator.cpp
+++ b/qfunctionconfigurator/qfunctionconfigurator.cpp
@@ -232,7 +232,7 @@ void QFunctionConfigurator::paintEvent(QPaintEvent *e)
// This new feature is very handy for tweaking the curves!
//
if (_config->getLastPoint( currentPoint )) {
- actualPos = point_to_pixel( currentPoint );
+ actualPos = point_to_pixel( QPointF(fabs(currentPoint.x()), fabs(currentPoint.y())) );
drawPoint(&p, actualPos, QColor(255, 0, 0, 120));
pen.setWidth(1);