commit 8401ea3421ead0f6fb320deb444083131fa7d06f parent 9fb43bf5a1bb9cb28664d065e5cce521d6bcf868 Author: Daniel Vrátil <dvratil@kde.org> Date: Mon, 4 Feb 2019 01:28:30 +0100 Fix link activation on the About page Diffstat:
M | qml/pages/AboutPage.qml | | | 8 | +++++++- |
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/qml/pages/AboutPage.qml b/qml/pages/AboutPage.qml @@ -68,8 +68,14 @@ Page { } Label { - text: qsTr("Homepage: <a href=\"%1\">Github</a>").arg("https://github.com/danvratil/harbour-passilic") + readonly property string _url: "https://github.com/danvratil/harbour-passilic" + + textFormat: Text.RichText + text: qsTr("Homepage: <a href=\"%1\">Github</a>").arg(_url) font.pixelSize: Theme.fontSizeSmall + linkColor: Theme.highlightColor + + onLinkActivated: Qt.openUrlExternally(_url) } Label {