Commit 76d825fa authored by Nicolas Fella's avatar Nicolas Fella

Fix opening location on map

parent 4ebdc290
......@@ -115,7 +115,7 @@ KPublicTransport::StopoverRequest Controller::createStopoverRequest()
return req;
void Controller::showOnMap(KPublicTransport::Location &location)
void Controller::showOnMap(KPublicTransport::Location location)
QUrl url;
......@@ -57,7 +57,7 @@ public:
Q_INVOKABLE KPublicTransport::LocationRequest createLocationRequest(const QString &name);
Q_INVOKABLE KPublicTransport::StopoverRequest createStopoverRequest();
Q_INVOKABLE void showOnMap(KPublicTransport::Location &location);
Q_INVOKABLE void showOnMap(KPublicTransport::Location location);
void startChanged();
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