Commit 0ecc23c1 authored by Volker Krause's avatar Volker Krause
Browse files

Use the new grouped by country mode for the public transport backend model

parent 397481c5
......@@ -19,6 +19,7 @@ Kirigami.ScrollablePage {
KPublicTransport.BackendModel {
id: backendModel
mode: KPublicTransport.BackendModel.GroupByCountry
}
Component {
......@@ -79,7 +80,7 @@ Kirigami.ScrollablePage {
model: backendModel
delegate: backendDelegate
section.property: "primaryCountryCode"
section.property: "countryCode"
section.delegate: Kirigami.ListSectionHeader {
text: (section == "" || section == "UN") ? i18n("Global") : Localizer.countryFlag(section) + " " + Localizer.countryName(section)
}
......
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