From d4a89fddffbdc9ad45fc121100714f52a1bf0207 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 23 Jan 2018 18:22:06 +0100 Subject: Avoid unnecessary references to app --- components/accounts/qml/AccountWizard.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'components') diff --git a/components/accounts/qml/AccountWizard.qml b/components/accounts/qml/AccountWizard.qml index 4a11ca05..9c4adbe2 100644 --- a/components/accounts/qml/AccountWizard.qml +++ b/components/accounts/qml/AccountWizard.qml @@ -39,9 +39,9 @@ Kube.Popup { Component.onCompleted: { //If we only have one account type we skip the selection if (root.availableAccountPlugins.length == 1) { - stack.push(wizardPage.createObject(app, {accountType: root.availableAccountPlugins[0]})) + stack.push(wizardPage.createObject(stack, {accountType: root.availableAccountPlugins[0]})) } else { - stack.push(mainView.createObject(app)) + stack.push(mainView.createObject(stack)) } } onCurrentItemChanged: { @@ -72,7 +72,7 @@ Kube.Popup { delegate: Kube.Button { Layout.fillWidth: true text: modelData - onClicked: stack.push(wizardPage.createObject(app, {accountType:modelData})) + onClicked: stack.push(wizardPage.createObject(stack, {accountType:modelData})) } } } -- cgit v1.2.3