Simplify connection handling in image provider
Controller is a singleton now, no need to pass the connection object around
This commit is contained in:
@@ -85,12 +85,6 @@ Kirigami.ApplicationWindow {
|
||||
onErrorOccured: showPassiveNotification(error + ": " + detail)
|
||||
}
|
||||
|
||||
Binding {
|
||||
target: imageProvider
|
||||
property: "connection"
|
||||
value: Controller.connection
|
||||
}
|
||||
|
||||
RoomListModel {
|
||||
id: spectralRoomListModel
|
||||
|
||||
|
||||
Reference in New Issue
Block a user