mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Consolidate connections
This commit is contained in:
parent
a9ed83a1ce
commit
a7bdbc2af2
2 changed files with 0 additions and 16 deletions
|
@ -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 a new issue