summary refs log tree commit diff
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-07-19 14:37:16 -0400
committerLoren Burkholder <computersemiexpert@outlook.com>2021-07-20 21:48:03 -0400
commita7bdbc2af26bc3c6af0e1061d63a479a2bacdd2e (patch)
treeed49135cf4c65d1cb84fe0bf0f71a0cb91960688
parentRemove size_t property stuff (diff)
downloadnheko-a7bdbc2af26bc3c6af0e1061d63a479a2bacdd2e.tar.xz
Consolidate connections
-rw-r--r--resources/qml/Root.qml6
-rw-r--r--resources/qml/TimelineView.qml10
2 files changed, 0 insertions, 16 deletions
diff --git a/resources/qml/Root.qml b/resources/qml/Root.qml

index 102d0411..0a0f90cf 100644 --- a/resources/qml/Root.qml +++ b/resources/qml/Root.qml
@@ -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, diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml
index f5979e14..c5cc69a6 100644 --- a/resources/qml/TimelineView.qml +++ b/resources/qml/TimelineView.qml
@@ -249,14 +249,4 @@ Item { roomid: room ? room.roomId : "" } - Connections { - target: room - onOpenRoomSettingsDialog: { - var roomSettings = roomSettingsComponent.createObject(timelineRoot, { - "roomSettings": settings - }); - roomSettings.show(); - } - } - }