Commit 986d41a9 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Make sure we don't allow for two very similar rating sorting algorithms

parent 5a04c305
......@@ -80,11 +80,11 @@ DiscoverPage {
QQC2.ActionGroup.group: sortGroup
text: i18n("Rating")
onTriggered: {
appsModel.sortRole = ResourcesProxyModel.RatingPointsRole
appsModel.sortRole = ResourcesProxyModel.SortableRatingRole
appsModel.sortOrder = Qt.DescendingOrder
}
checkable: true
checked: appsModel.sortRole == ResourcesProxyModel.RatingPointsRole
checked: appsModel.sortRole == ResourcesProxyModel.SortableRatingRole
}
QQC2.Action {
QQC2.ActionGroup.group: sortGroup
......
Supports Markdown
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