summaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-05-18 01:42:46 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-05-18 02:29:06 (GMT)
commit54c6a0101ba2bf3910126c53738e337712e5bb9a (patch)
treeb7aa9899ced985de5e89d3f70b4ef79abb3c61f4 /src/imports
parent96d5029126707771a3b956e6db0391ae7d619853 (diff)
downloadQt-54c6a0101ba2bf3910126c53738e337712e5bb9a.zip
Qt-54c6a0101ba2bf3910126c53738e337712e5bb9a.tar.gz
Qt-54c6a0101ba2bf3910126c53738e337712e5bb9a.tar.bz2
Add parent parameter to QDeclarativeExpression constructor.
Also rearrange the parameter order to be more clear.
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/gestures/qdeclarativegesturearea.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/gestures/qdeclarativegesturearea.cpp b/src/imports/gestures/qdeclarativegesturearea.cpp
index 19afe0c..1b0aeeb 100644
--- a/src/imports/gestures/qdeclarativegesturearea.cpp
+++ b/src/imports/gestures/qdeclarativegesturearea.cpp
@@ -226,7 +226,7 @@ void QDeclarativeGestureArea::connectSignals()
ds >> gesturetype;
QString script;
ds >> script;
- QDeclarativeExpression *exp = new QDeclarativeExpression(qmlContext(this), script, 0);
+ QDeclarativeExpression *exp = new QDeclarativeExpression(qmlContext(this), 0, script);
d->bindings.insert(Qt::GestureType(gesturetype),exp);
grabGesture(Qt::GestureType(gesturetype));
}