Rename Controller.connection to activeConnection

This commit is contained in:
Tobias Fella
2020-11-10 20:44:08 +01:00
parent 26b2071e11
commit 16c64ad67f
7 changed files with 22 additions and 22 deletions

View File

@@ -39,7 +39,7 @@ Dialog {
standardButtons: Dialog.Ok | Dialog.Cancel
onAccepted: Controller.createRoom(Controller.connection, roomNameField.text, roomTopicField.text)
onAccepted: Controller.createRoom(Controller.activeConnection, roomNameField.text, roomTopicField.text)
onClosed: destroy()
}

View File

@@ -168,7 +168,7 @@ Dialog {
anchors.fill: parent
onClicked: {
roomListForm.enteredRoom = Controller.connection.room(room.predecessorId)
roomListForm.enteredRoom = Controller.activeConnection.room(room.predecessorId)
root.close()
}
}
@@ -212,7 +212,7 @@ Dialog {
anchors.fill: parent
onClicked: {
roomListForm.enteredRoom = Controller.connection.room(room.successorId)
roomListForm.enteredRoom = Controller.activeConnection.room(room.successorId)
root.close()
}
}