[pim/itinerary/release/26.08] src/app: Fix activating deep booking links on details pages

Volker Krause <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 496ae78cdd21a71766ed9d7bd7b5b99edd0d8269 by Volker Krause.
Committed on 20/07/2026 at 16:52.
Pushed by vkrause into branch 'release/26.08'.

Fix activating deep booking links on details pages

(cherry picked from commit d6edcea497677e68f95e68e84ab822f6b219c084)

M  +1    -1    src/app/livedatamanager.h

https://invent.kde.org/pim/itinerary/-/commit/496ae78cdd21a71766ed9d7bd7b5b99edd0d8269

diff --git a/src/app/livedatamanager.h b/src/app/livedatamanager.h
index 3fc707e03..74abd4107 100644
--- a/src/app/livedatamanager.h
+++ b/src/app/livedatamanager.h
@@ -50,7 +50,7 @@ public:
 
     KPublicTransport::Stopover arrival(const QString &resId) const;
     KPublicTransport::Stopover departure(const QString &resId) const;
-    KPublicTransport::JourneySection journey(const QString &resId) const;
+    Q_INVOKABLE KPublicTransport::JourneySection journey(const QString &resId) const;
 
     [[nodiscard]] KPublicTransport::JourneySection trip(const QString &resId) const;
     [[nodiscard]] qsizetype tripDepartureIndex(const QString &resId) const;
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.