From eaf4929e142102715e114683db6b3a379624aa76 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sat, 18 Aug 2018 17:23:43 +0200 Subject: Cleanup --- components/accounts/qml/AccountWizard.qml | 6 +++--- components/accounts/qml/AccountWizardPage.qml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/accounts/qml/AccountWizard.qml b/components/accounts/qml/AccountWizard.qml index eb259aa6..7e67a148 100644 --- a/components/accounts/qml/AccountWizard.qml +++ b/components/accounts/qml/AccountWizard.qml @@ -18,7 +18,7 @@ import QtQuick 2.7 import QtQuick.Layouts 1.1 -import QtQuick.Controls 2.0 as Controls2 +import QtQuick.Controls 2 import org.kube.framework 1.0 as Kube Kube.Popup { @@ -29,11 +29,11 @@ Kube.Popup { property var availableAccountPlugins: [] modal: true - closePolicy: requireSetup ? Controls2.Popup.NoAutoClose : Controls2.Popup.CloseOnEscape | Controls2.Popup.CloseOnPressOutside + closePolicy: requireSetup ? Popup.NoAutoClose : Popup.CloseOnEscape | Popup.CloseOnPressOutside clip: true - Controls2.StackView { + StackView { id: stack anchors.fill: parent Component.onCompleted: { diff --git a/components/accounts/qml/AccountWizardPage.qml b/components/accounts/qml/AccountWizardPage.qml index 66fae82a..44bd5b38 100644 --- a/components/accounts/qml/AccountWizardPage.qml +++ b/components/accounts/qml/AccountWizardPage.qml @@ -19,7 +19,7 @@ import QtQuick 2.7 import QtQuick.Layouts 1.1 -import QtQuick.Controls 2.0 as Controls2 +import QtQuick.Controls 2 import org.kube.framework 1.0 as Kube @@ -28,7 +28,7 @@ FocusScope { property string accountType signal done() - property bool isFirstView: root.Controls2.StackView.index == 0 + property bool isFirstView: root.StackView.index == 0 property bool requireSetup: false function save() { -- cgit v1.2.3