Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 7de6fbd5 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Open information about the software license by making the license clickable

parent efaa09a2
......@@ -203,9 +203,15 @@ DiscoverPage {
onClicked: originsOverlay.open()
}
}
Label {
visible: text.length>0
text: appInfo.application.license ? i18n("License: %1", appInfo.application.license) : ""
RowLayout {
Label {
text: i18n("License:")
}
LinkButton {
text: appInfo.application.license
// tooltip: i18n("See full license terms")
onClicked: Qt.openUrlExternally("https://spdx.org/licenses/" + appInfo.application.license + ".html#licenseText")
}
}
}
}
......
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