[pim/itinerary/release/26.08] src/app: Map road-based on-demand and sharing services to bus trips
Volker Krause <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit ceb025a1ae0279bdd8f660f82ba927c809a5902a by Volker Krause.
Committed on 30/07/2026 at 16:37.
Pushed by vkrause into branch 'release/26.08'.
Map road-based on-demand and sharing services to bus trips
Otherwise those are silently lost when adding to a trip from a journey
search.
(cherry picked from commit c4b1e2ddcfe91f4906e7d518f634b1f40fe00b50)
M +2 -0 src/app/publictransport.cpp
https://invent.kde.org/pim/itinerary/-/commit/ceb025a1ae0279bdd8f660f82ba927c809a5902a
diff --git a/src/app/publictransport.cpp b/src/app/publictransport.cpp
index e0344f0bc..0b92af0f4 100644
--- a/src/app/publictransport.cpp
+++ b/src/app/publictransport.cpp
@@ -40,6 +40,8 @@ bool PublicTransport::isBusMode(KPublicTransport::Line::Mode mode)
case Line::Bus:
case Line::Coach:
case Line::Shuttle:
+ case Line::RideShare:
+ case Line::Taxi:
return true;
default:
return false;