Simplify connection handling in image provider

Controller is a singleton now, no need to pass the connection object around
This commit is contained in:
Nicolas Fella
2020-11-04 20:17:21 +01:00
parent 90c6b1ae25
commit f5b4914d11
4 changed files with 12 additions and 40 deletions

View File

@@ -85,12 +85,6 @@ Kirigami.ApplicationWindow {
onErrorOccured: showPassiveNotification(error + ": " + detail)
}
Binding {
target: imageProvider
property: "connection"
value: Controller.connection
}
RoomListModel {
id: spectralRoomListModel