[pim/itinerary] 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 c4b1e2ddcfe91f4906e7d518f634b1f40fe00b50 by Volker Krause.
Committed on 26/07/2026 at 16:13.
Pushed by vkrause into branch 'master'.

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.

M  +2    -0    src/app/publictransport.cpp

https://invent.kde.org/pim/itinerary/-/commit/c4b1e2ddcfe91f4906e7d518f634b1f40fe00b50

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;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.