Commit a1053e72 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Fix warnings

parent 6588facb
......@@ -66,12 +66,16 @@ DiscoverPage {
Component {
id: sourceBackendDelegate
Kirigami.AbstractListItem {
id: backendItem
hoverEnabled: false
supportsMouseEvents: false
readonly property QtObject backend: sourcesBackend
readonly property bool isDefault: ResourcesModel.currentApplicationBackend == resourcesBackend
RowLayout {
id: backendItem
readonly property QtObject backend: sourcesBackend
readonly property bool isDefault: ResourcesModel.currentApplicationBackend == resourcesBackend
Connections {
target: backendItem.backend
onPassiveMessage: window.showPassiveNotification(message)
}
anchors {
right: parent.right
......@@ -87,11 +91,6 @@ DiscoverPage {
Layout.rightMargin: Kirigami.Units.smallSpacing
iconName: "preferences-other"
Connections {
target: backend
onPassiveMessage: window.showPassiveNotification(message)
}
visible: resourcesBackend && resourcesBackend.hasApplications
Component {
id: dialogComponent
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment