aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/util/qquickpropertychanges.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2014-03-29 14:15:54 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-29 21:20:36 +0100
commit001d5791e5d6f0beefcc84cb53be0ddf09ea692c (patch)
tree1ac030698d0992069a9870a67a060d1fa6c504ba /src/quick/util/qquickpropertychanges.cpp
parent61e519e230217aa32869ed70fc38ee947fb9b313 (diff)
Remove object index parameter from QQmlCustomParser::compile
There is no need anymore to pass through the object index of the object being "custom compiled". Change-Id: I8ef8e578b27523d9e7190503fbf95d1eb863a149 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/quick/util/qquickpropertychanges.cpp')
-rw-r--r--src/quick/util/qquickpropertychanges.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/quick/util/qquickpropertychanges.cpp b/src/quick/util/qquickpropertychanges.cpp
index 9ed6ce07d0..ec42a714c9 100644
--- a/src/quick/util/qquickpropertychanges.cpp
+++ b/src/quick/util/qquickpropertychanges.cpp
@@ -258,9 +258,8 @@ void QQuickPropertyChangesParser::compileList(QList<QPair<QString, const QV4::Co
list << qMakePair(propName, binding);
}
-QByteArray QQuickPropertyChangesParser::compile(const QV4::CompiledData::QmlUnit *qmlUnit, int objectIndex, const QList<const QV4::CompiledData::Binding *> &props)
+QByteArray QQuickPropertyChangesParser::compile(const QV4::CompiledData::QmlUnit *qmlUnit, const QList<const QV4::CompiledData::Binding *> &props)
{
- Q_UNUSED(objectIndex)
QList<QPair<QString, const QV4::CompiledData::Binding *> > data;
for (int ii = 0; ii < props.count(); ++ii)
compileList(data, QString(), qmlUnit, props.at(ii));