diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2021-07-20 19:17:20 -0400 |
---|---|---|
committer | Loren Burkholder <computersemiexpert@outlook.com> | 2021-07-20 21:48:10 -0400 |
commit | 44d2818e0cb2bceb25e29edf7ef32d02ede42432 (patch) | |
tree | 6df3faa4c4c986953e05c9c75e79bdf416159b66 /resources | |
parent | Check with regex everywhere (diff) | |
download | nheko-44d2818e0cb2bceb25e29edf7ef32d02ede42432.tar.xz |
Add property for plain room name
Diffstat (limited to 'resources')
-rw-r--r-- | resources/qml/InviteDialog.qml | 4 | ||||
-rw-r--r-- | resources/qml/Root.qml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/resources/qml/InviteDialog.qml b/resources/qml/InviteDialog.qml index 026e3297..e9ff475d 100644 --- a/resources/qml/InviteDialog.qml +++ b/resources/qml/InviteDialog.qml @@ -11,7 +11,7 @@ ApplicationWindow { id: inviteDialogRoot property string roomId - property string roomName + property string plainRoomName property InviteesModel invitees function addInvite() { @@ -29,7 +29,7 @@ ApplicationWindow { close(); } - title: qsTr("Invite users to ") + roomName + title: qsTr("Invite users to ") + plainRoomName x: MainWindow.x + (MainWindow.width / 2) - (width / 2) y: MainWindow.y + (MainWindow.height / 2) - (height / 2) height: 380 diff --git a/resources/qml/Root.qml b/resources/qml/Root.qml index b5395232..f71c18e2 100644 --- a/resources/qml/Root.qml +++ b/resources/qml/Root.qml @@ -150,7 +150,7 @@ Page { onOpenInviteUsersDialog: { var dialog = inviteDialog.createObject(timelineRoot, { "roomId": Rooms.currentRoom.roomId, - "roomName": Rooms.currentRoom.roomName, + "plainRoomName": Rooms.currentRoom.plainRoomName, "invitees": invitees }); dialog.show(); |