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

Restrict journey modes to public transport for monitoring trains

parent 94777674
......@@ -188,6 +188,7 @@ void LiveDataManager::checkReservation(const QVariant &res, const QString& resId
req.setDateTimeMode(JourneyRequest::Departure);
req.setIncludeIntermediateStops(true);
req.setIncludePaths(true);
req.setModes(JourneySection::PublicTransport);
PublicTransport::selectBackends(req, m_ptMgr, res);
auto reply = m_ptMgr->queryJourney(req);
connect(reply, &Reply::finished, this, [this, resId, reply]() { journeyQueryFinished(reply, resId); });
......
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