summaryrefslogtreecommitdiffhomepage
path: root/qfunctionconfigurator/qfunctionconfigurator.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-01-12 16:22:42 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-01-12 16:23:08 +0100
commit6d6d15e1b328ec5c0469f8bc142848715b1491e8 (patch)
treefd2e70a330979b94b205f79b80c4cc140322cfbe /qfunctionconfigurator/qfunctionconfigurator.h
parentad708b8a8a2c8d2d898c79823672aba79de7733e (diff)
fix qfc display artifacts & bugs
Diffstat (limited to 'qfunctionconfigurator/qfunctionconfigurator.h')
-rw-r--r--qfunctionconfigurator/qfunctionconfigurator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qfunctionconfigurator/qfunctionconfigurator.h b/qfunctionconfigurator/qfunctionconfigurator.h
index 17cb3a44..bb2aced0 100644
--- a/qfunctionconfigurator/qfunctionconfigurator.h
+++ b/qfunctionconfigurator/qfunctionconfigurator.h
@@ -68,6 +68,7 @@ private:
const double mwr = 15, mhr = 35;
range = QRectF(mwl, mhl, (w - mwl - mwr), (h - mhl - mhr));
c = QPointF(range.width() / _config->maxInput(), range.height() / _config->maxOutput());
+ _draw_function = _draw_background = true;
}
QRectF range; // The actual rectangle for the Bezier-curve