Commit d60b1345 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Don't show empty license entries

Behavior is weird and not helpful

CCBUG: 388735
parent d6dc5494
......@@ -215,11 +215,13 @@ DiscoverPage {
QQC2.Label {
Layout.alignment: Qt.AlignRight
text: i18n("License:")
visible: appInfo.application.license.length>0
LinkButton {
elide: Text.ElideRight
Layout.fillWidth: true
horizontalAlignment: Text.AlignLeft
visible: text.length>0
text: appInfo.application.license
// tooltip: i18n("See full license terms")
onClicked: Qt.openUrlExternally("" + 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