Unify styling of links between TextDelegates and StateDelegates

This commit is contained in:
Tobias Fella
2021-03-09 14:25:48 +01:00
parent 21fb674f7d
commit e569936a85

View File

@@ -42,7 +42,7 @@ RowLayout {
Layout.fillWidth: true
wrapMode: Text.WordWrap
textFormat: Text.RichText
text: "<a href=\"https://matrix.to/#/" + author.id + "\" style='color: " + author.color + "'>" + author.displayName + "</a> " + display
text: "<style>a {text-decoration: none;}</style><a href=\"https://matrix.to/#/" + author.id + "\" style='color: " + author.color + "'>" + author.displayName + "</a> " + display
onLinkActivated: Qt.openUrlExternally(link)
}
}