aboutsummaryrefslogtreecommitdiffstats
path: root/src/controls
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2015-08-19 12:55:08 +0200
committerMitch Curtis <mitch.curtis@theqtcompany.com>2015-08-20 08:17:17 +0000
commit99542dc7a50f4abb4b1d4ac5dc205205678b6eac (patch)
tree7853abb1ad1d32a3ddf201ffa90e434fee2fc2c5 /src/controls
parentdacecc6a36ddcc2cc60b11c5fe51377281d07c2a (diff)
QQuickStackView: fix build
error: too many arguments to function call, expected 2, have 3 d->initializeObjectWithInitialProperties(*qmlGlobal.valueRef(), ipv, item); Change-Id: Ic8dd42102a80856f72d7ec5eba08dd8b5e82cf71 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/controls')
-rw-r--r--src/controls/qquickstackview_p.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/qquickstackview_p.cpp b/src/controls/qquickstackview_p.cpp
index e4ecfca9..85c57832 100644
--- a/src/controls/qquickstackview_p.cpp
+++ b/src/controls/qquickstackview_p.cpp
@@ -171,7 +171,7 @@ void QQuickStackElement::initProperties()
Q_ASSERT(v4);
QV4::Scope scope(v4);
QV4::ScopedValue ipv(scope, properties.value());
- d->initializeObjectWithInitialProperties(*qmlGlobal.valueRef(), ipv, item);
+ d->initializeObjectWithInitialProperties(ipv, item);
properties.clear();
}
}