Consolidate connections
This commit is contained in:
parent
a9ed83a1ce
commit
a7bdbc2af2
@ -141,20 +141,14 @@ Page {
|
||||
});
|
||||
membersDialog.show();
|
||||
}
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: Rooms.currentRoom
|
||||
onOpenRoomSettingsDialog: {
|
||||
var roomSettings = roomSettingsComponent.createObject(timelineRoot, {
|
||||
"roomSettings": settings
|
||||
});
|
||||
roomSettings.show();
|
||||
}
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: Rooms.currentRoom
|
||||
onOpenInviteUsersDialog: {
|
||||
var dialog = inviteDialog.createObject(timelineRoot, {
|
||||
"roomId": Rooms.currentRoom.roomId,
|
||||
|
@ -249,14 +249,4 @@ Item {
|
||||
roomid: room ? room.roomId : ""
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: room
|
||||
onOpenRoomSettingsDialog: {
|
||||
var roomSettings = roomSettingsComponent.createObject(timelineRoot, {
|
||||
"roomSettings": settings
|
||||
});
|
||||
roomSettings.show();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user