diff --git a/src/qml/LocationChooser.qml b/src/qml/LocationChooser.qml index db74eceec..38336a60c 100644 --- a/src/qml/LocationChooser.qml +++ b/src/qml/LocationChooser.qml @@ -56,7 +56,7 @@ Components.AbstractMaximizeComponent { Connections { target: mapView.map - function onCopyrightLinkActivated() { + function onCopyrightLinkActivated(link: string) { Qt.openUrlExternally(link); } } diff --git a/src/qml/LocationsPage.qml b/src/qml/LocationsPage.qml index a4c73d5cf..bc08a50fd 100644 --- a/src/qml/LocationsPage.qml +++ b/src/qml/LocationsPage.qml @@ -55,7 +55,7 @@ Kirigami.Page { Connections { target: mapView.map - function onCopyrightLinkActivated() { + function onCopyrightLinkActivated(link: string) { Qt.openUrlExternally(link); } } diff --git a/src/timeline/LocationComponent.qml b/src/timeline/LocationComponent.qml index d97f03965..49c847f9b 100644 --- a/src/timeline/LocationComponent.qml +++ b/src/timeline/LocationComponent.qml @@ -106,7 +106,7 @@ ColumnLayout { } Connections { target: mapView.map - function onCopyrightLinkActivated() { + function onCopyrightLinkActivated(link: string) { Qt.openUrlExternally(link); } }