Skip to content

Commit

Permalink
Fix parameter injection warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Jul 29, 2024
1 parent 4455754 commit 340e31e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/qml/About.qml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Item {
links += ' <a href="https://github.com/opengisch/QField/releases/tag/' + appVersion + '">' + appVersion + '</a>';
return "QField<br>" + appVersionStr + " (" + links + ")<br>Qt " + qVersion;
}
onLinkActivated: Qt.openUrlExternally(link)
onLinkActivated: link => Qt.openUrlExternally(link)
}
}

Expand Down Expand Up @@ -107,7 +107,7 @@ Item {
color: Theme.light
textFormat: Text.RichText
text: qsTr("Developed by") + '<br><a href="https://opengis.ch">OPENGIS.ch</a>'
onLinkActivated: Qt.openUrlExternally(link)
onLinkActivated: link => Qt.openUrlExternally(link)
}
}
}
Expand Down Expand Up @@ -141,7 +141,7 @@ Item {
return label;
}

onLinkActivated: Qt.openUrlExternally(link)
onLinkActivated: link => Qt.openUrlExternally(link)
}

QfButton {
Expand Down

1 comment on commit 340e31e

@qfield-fairy
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.