summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <[email protected]>2016-12-21 19:16:51 +0100
committerAleix Pol <[email protected]>2016-12-21 19:16:51 +0100
commitf7cd20c1ec4caee87d56c42d6d1289d6c0340586 (patch)
treee7aefaae26b5882939c161be8dcb5b6a7523cc66
parent3182e2608f93e818308aac6f9b656497b2a2897f (diff)
Improve the representation of the currentItem
Use highlighted rather than checked
-rw-r--r--discover/qml/ApplicationDelegate.qml2
-rw-r--r--discover/qml/SourcesPage.qml2
-rw-r--r--discover/qml/UpdatesPage.qml2
3 files changed, 3 insertions, 3 deletions
diff --git a/discover/qml/ApplicationDelegate.qml b/discover/qml/ApplicationDelegate.qml
index d29aadc..f8f5c7e 100644
--- a/discover/qml/ApplicationDelegate.qml
+++ b/discover/qml/ApplicationDelegate.qml
@@ -38,7 +38,7 @@ Kirigami.AbstractListItem
ListView.view.currentIndex = index
Navigation.openApplication(application)
}
- checked: ListView.isCurrentItem
+ highlighted: ListView.isCurrentItem
Keys.onReturnPressed: trigger()
onClicked: trigger()
implicitHeight: Kirigami.Units.gridUnit * (compact ? 7 : 10)
diff --git a/discover/qml/SourcesPage.qml b/discover/qml/SourcesPage.qml
index d54bb34..2afa42b 100644
--- a/discover/qml/SourcesPage.qml
+++ b/discover/qml/SourcesPage.qml
@@ -130,7 +130,7 @@ DiscoverPage {
delegate: Kirigami.SwipeListItem {
Layout.fillWidth: true
enabled: display.length>0
- checked: ListView.isCurrentItem
+ highlighted: ListView.isCurrentItem
onClicked: Navigation.openApplicationListSource(model.display)
readonly property string backendName: model.statusTip
diff --git a/discover/qml/UpdatesPage.qml b/discover/qml/UpdatesPage.qml
index 11a2671..e80674b 100644
--- a/discover/qml/UpdatesPage.qml
+++ b/discover/qml/UpdatesPage.qml
@@ -136,7 +136,7 @@ DiscoverPage
delegate: Kirigami.AbstractListItem {
x: Kirigami.Units.gridUnit
width: ListView.view.width - Kirigami.Units.gridUnit * 2
- checked: ListView.isCurrentItem
+ highlighted: ListView.isCurrentItem
onEnabledChanged: if (!enabled) {
layout.extended = false;
}