summaryrefslogtreecommitdiffhomepage
path: root/qfunctionconfigurator/qfunctionconfigurator.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-13 09:08:32 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-13 09:08:32 +0200
commit79b0e5f816b8c324984b8780c51dd8c25c698918 (patch)
tree5a4b812821004875cef00dff55482cf6299d4a4a /qfunctionconfigurator/qfunctionconfigurator.h
parentd47d6f4c89c0d20829718234881aab83d524e7c5 (diff)
Don't reference same thing twice, including a possibly stale pointer. Apply more defensive coding
Diffstat (limited to 'qfunctionconfigurator/qfunctionconfigurator.h')
-rw-r--r--qfunctionconfigurator/qfunctionconfigurator.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/qfunctionconfigurator/qfunctionconfigurator.h b/qfunctionconfigurator/qfunctionconfigurator.h
index 6ad810c1..3f6a2b5f 100644
--- a/qfunctionconfigurator/qfunctionconfigurator.h
+++ b/qfunctionconfigurator/qfunctionconfigurator.h
@@ -172,8 +172,7 @@ private:
QPointF normalizePoint (QPointF point) const; // Convert the graphical Point to a real-life Point
QPointF graphicalizePoint (QPointF point, QString source = "") const; // Convert the Point to a graphical Point
- QPointF *moving;
- int movingPoint;
+ int movingPoint;
int MaxInput; // Maximum input limit
int MaxOutput; // Maximum output limit