diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-01-23 18:22:06 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-01-23 18:22:06 +0100 |
commit | d4a89fddffbdc9ad45fc121100714f52a1bf0207 (patch) | |
tree | 1bec508940232ab6ca2317123c84a9a18ef9e652 /components | |
parent | c8d6782e57cf63137aa97ad7ebdd56a9d96299ad (diff) | |
download | kube-d4a89fddffbdc9ad45fc121100714f52a1bf0207.tar.gz kube-d4a89fddffbdc9ad45fc121100714f52a1bf0207.zip |
Avoid unnecessary references to app
Diffstat (limited to 'components')
-rw-r--r-- | components/accounts/qml/AccountWizard.qml | 6 |
1 files changed, 3 insertions, 3 deletions
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 { | |||
39 | Component.onCompleted: { | 39 | Component.onCompleted: { |
40 | //If we only have one account type we skip the selection | 40 | //If we only have one account type we skip the selection |
41 | if (root.availableAccountPlugins.length == 1) { | 41 | if (root.availableAccountPlugins.length == 1) { |
42 | stack.push(wizardPage.createObject(app, {accountType: root.availableAccountPlugins[0]})) | 42 | stack.push(wizardPage.createObject(stack, {accountType: root.availableAccountPlugins[0]})) |
43 | } else { | 43 | } else { |
44 | stack.push(mainView.createObject(app)) | 44 | stack.push(mainView.createObject(stack)) |
45 | } | 45 | } |
46 | } | 46 | } |
47 | onCurrentItemChanged: { | 47 | onCurrentItemChanged: { |
@@ -72,7 +72,7 @@ Kube.Popup { | |||
72 | delegate: Kube.Button { | 72 | delegate: Kube.Button { |
73 | Layout.fillWidth: true | 73 | Layout.fillWidth: true |
74 | text: modelData | 74 | text: modelData |
75 | onClicked: stack.push(wizardPage.createObject(app, {accountType:modelData})) | 75 | onClicked: stack.push(wizardPage.createObject(stack, {accountType:modelData})) |
76 | } | 76 | } |
77 | } | 77 | } |
78 | } | 78 | } |