Cleanup name handling in RoomListModel

Replace NameRole with DisplayNameRole entirely.
This commit is contained in:
Tobias Fella
2023-05-15 00:14:38 +02:00
parent dee064a758
commit 4d2e64cb80
8 changed files with 17 additions and 21 deletions

View File

@@ -18,7 +18,7 @@ ColumnLayout {
spacing: 0
MobileForm.FormComboBoxDelegate {
text: i18n("Room")
textRole: "name"
textRole: "displayName"
valueRole: "id"
model: RoomListModel {
id: roomListModel