summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <[email protected]>2018-05-04 17:41:30 +0200
committerAleix Pol <[email protected]>2018-05-04 17:41:30 +0200
commita122b93badc2abc18f1b1af8092a5d0b07c5ca6a (patch)
tree8034885b61917c482a9b90189d161bc1f371bbcd
parent67410504cab72896fd2e602be7f6fd90e52a85b7 (diff)
Use a nicer delegate for the missing backends items in the sources
Won't get under the scroll bar, uses a BasicListItem rather than a raw RowLayout.
-rw-r--r--discover/qml/SourcesPage.qml10
1 files changed, 4 insertions, 6 deletions
diff --git a/discover/qml/SourcesPage.qml b/discover/qml/SourcesPage.qml
index 6a2068c..70f5f75 100644
--- a/discover/qml/SourcesPage.qml
+++ b/discover/qml/SourcesPage.qml
@@ -216,12 +216,10 @@ DiscoverPage {
model: ResourcesProxyModel {
extending: "org.kde.discover.desktop"
}
- delegate: RowLayout {
- visible: !model.application.isInstalled
- QQC2.Label {
- Layout.fillWidth: true
- text: name
- }
+ delegate: Kirigami.BasicListItem {
+ supportsMouseEvents: false
+ label: name
+ icon: model.icon
InstallApplicationButton {
application: model.application
}