diff --git a/resources/qml/Account/AccountDetails.qml b/resources/qml/Account/AccountDetails.qml index 265842e2b4..e81fdb1fb2 100644 --- a/resources/qml/Account/AccountDetails.qml +++ b/resources/qml/Account/AccountDetails.qml @@ -9,9 +9,10 @@ import Cura 1.1 as Cura Column { - property var profile: null - property var loggedIn: false - property var profileImage: "" + property var profile: Cura.API.account.userProfile + property bool loggedIn: Cura.API.account.isLoggedIn + property var profileImage: Cura.API.account.profileImageUrl + padding: UM.Theme.getSize("wide_margin").height spacing: UM.Theme.getSize("wide_margin").height diff --git a/resources/qml/Account/AccountWidget.qml b/resources/qml/Account/AccountWidget.qml index eed711e745..8c4d4c91e8 100644 --- a/resources/qml/Account/AccountWidget.qml +++ b/resources/qml/Account/AccountWidget.qml @@ -133,12 +133,7 @@ Item Behavior on opacity { NumberAnimation { duration: 100 } } contentItem: AccountDetails - { - id: panel - profile: Cura.API.account.userProfile - loggedIn: Cura.API.account.isLoggedIn - profileImage: Cura.API.account.profileImageUrl - } + {} background: UM.PointingRectangle {