Commit ceaf9fdb authored by Volker Krause's avatar Volker Krause
Browse files

OJP can do arrival queries, indicate that in the backend capabilities

parent 0a423885
......@@ -26,7 +26,8 @@ using namespace KPublicTransport;
AbstractBackend::Capabilities OpenJourneyPlannerBackend::capabilities() const
{
return m_endpoint.scheme() == QLatin1String("https") ? AbstractBackend::Secure : AbstractBackend::NoCapability;
return AbstractBackend::CanQueryArrivals |
(m_endpoint.scheme() == QLatin1String("https") ? AbstractBackend::Secure : AbstractBackend::NoCapability);
}
bool OpenJourneyPlannerBackend::needsLocationQuery(const Location &loc, AbstractBackend::QueryType type) const
......
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