Rename Account/Room → AccountDelegate/RoomDelegate

This commit is contained in:
miruka 2020-06-26 07:20:24 -04:00
parent 0c9474598c
commit 475b07793d
4 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ Rectangle {
model: ModelStore.get("matching_accounts") model: ModelStore.get("matching_accounts")
delegate: Account { delegate: AccountDelegate {
width: accountList.cellWidth width: accountList.cellWidth
height: accountList.cellHeight height: accountList.cellHeight
padded: false padded: false

View File

@ -15,7 +15,7 @@ HListView {
DelegateChoice { DelegateChoice {
roleValue: "Account" roleValue: "Account"
Account { AccountDelegate {
width: roomList.width width: roomList.width
leftPadding: theme.spacing leftPadding: theme.spacing
rightPadding: 0 // the right buttons have padding rightPadding: 0 // the right buttons have padding
@ -38,7 +38,7 @@ HListView {
DelegateChoice { DelegateChoice {
roleValue: "Room" roleValue: "Room"
Room { RoomDelegate {
width: roomList.width width: roomList.width
onLeftClicked: showItemAtIndex(model.index) onLeftClicked: showItemAtIndex(model.index)
} }