mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-29 14:18:49 +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();
|
membersDialog.show();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
Connections {
|
|
||||||
target: Rooms.currentRoom
|
|
||||||
onOpenRoomSettingsDialog: {
|
onOpenRoomSettingsDialog: {
|
||||||
var roomSettings = roomSettingsComponent.createObject(timelineRoot, {
|
var roomSettings = roomSettingsComponent.createObject(timelineRoot, {
|
||||||
"roomSettings": settings
|
"roomSettings": settings
|
||||||
});
|
});
|
||||||
roomSettings.show();
|
roomSettings.show();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
Connections {
|
|
||||||
target: Rooms.currentRoom
|
|
||||||
onOpenInviteUsersDialog: {
|
onOpenInviteUsersDialog: {
|
||||||
var dialog = inviteDialog.createObject(timelineRoot, {
|
var dialog = inviteDialog.createObject(timelineRoot, {
|
||||||
"roomId": Rooms.currentRoom.roomId,
|
"roomId": Rooms.currentRoom.roomId,
|
||||||
|
|
|
@ -249,14 +249,4 @@ Item {
|
||||||
roomid: room ? room.roomId : ""
|
roomid: room ? room.roomId : ""
|
||||||
}
|
}
|
||||||
|
|
||||||
Connections {
|
|
||||||
target: room
|
|
||||||
onOpenRoomSettingsDialog: {
|
|
||||||
var roomSettings = roomSettingsComponent.createObject(timelineRoot, {
|
|
||||||
"roomSettings": settings
|
|
||||||
});
|
|
||||||
roomSettings.show();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue