diff --git a/sddm-theme/Main.qml b/sddm-theme/Main.qml --- a/sddm-theme/Main.qml +++ b/sddm-theme/Main.qml @@ -360,9 +360,15 @@ notificationMessage: root.notificationMessage loginScreenUiVisible: loginScreenRoot.uiVisible - userListModel: QtObject { - property string name: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Type in Username and Password") - property string iconSource: "" + userListModel: ListModel { + ListElement { + name: "" + iconSource: "" + } + Component.onCompleted: { + // as we can't bind inside ListElement + setProperty(0, "name", i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Type in Username and Password")); + } } onLoginRequest: {