summaryrefslogtreecommitdiffhomepage
path: root/spline-widget/functionconfig.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-12-19 20:56:44 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-12-19 20:56:44 +0100
commit29b7e7c2cd3f7d2b72f15168ecfa167beee0ded5 (patch)
tree515eab1185b202058993108f67d28df2b96cc9c1 /spline-widget/functionconfig.cpp
parentf4647a9960f531829f1add40554442a7c84d82a6 (diff)
spline-widget: oops, pass by referenceopentrack-2.3-rc21p6
Diffstat (limited to 'spline-widget/functionconfig.cpp')
-rw-r--r--spline-widget/functionconfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/spline-widget/functionconfig.cpp b/spline-widget/functionconfig.cpp
index 33100e07..777b4f6f 100644
--- a/spline-widget/functionconfig.cpp
+++ b/spline-widget/functionconfig.cpp
@@ -62,7 +62,7 @@ float Map::getValueInternal(int x) {
return ret * sign;
}
-static QPointF ensureInBounds(QList<QPointF> points, int i) {
+static QPointF ensureInBounds(const QList<QPointF>& points, int i) {
int siz = points.size();
if (siz == 0 || i < 0)
return QPointF(0, 0);