diff options
author | Liang Qi <liang.qi@theqtcompany.com> | 2015-08-19 12:55:08 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@theqtcompany.com> | 2015-08-20 08:17:17 +0000 |
commit | 99542dc7a50f4abb4b1d4ac5dc205205678b6eac (patch) | |
tree | 7853abb1ad1d32a3ddf201ffa90e434fee2fc2c5 /src/controls | |
parent | dacecc6a36ddcc2cc60b11c5fe51377281d07c2a (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.cpp | 2 |
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(); } } |