Commit b5a7eb80 authored by Volker Krause's avatar Volker Krause Committed by Nicolas Fella
Browse files

Port away from KPublicTransport API deprecated since 21.08 or before

parent 1a9d5911
......@@ -89,9 +89,9 @@ Kirigami.ScrollablePage {
model: backendModel
delegate: backendDelegate
section.property: "primaryCountryCode"
section.property: "countryCode"
section.delegate: Kirigami.ListSectionHeader {
text: section == "" ? i18n("Global") : Localizer.countryFlag(section) + " " + Localizer.countryName(section)
text: section == "" || section == "UN" ? i18n("Global") : Localizer.countryFlag(section) + " " + Localizer.countryName(section)
}
section.criteria: ViewSection.FullString
section.labelPositioning: ViewSection.CurrentLabelAtStart | ViewSection.InlineLabels
......
......@@ -23,7 +23,7 @@ Kirigami.ScrollablePage
ListView {
model: KPT.DepartureQueryModel {
model: KPT.StopoverQueryModel {
id: theModel
request: Controller.createStopoverRequest()
manager: Manager
......
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