1
mirror of https://github.com/monero-project/monero-gui synced 2024-12-20 04:15:53 +01:00

Label: change cursor on link hover

This commit is contained in:
selsta 2019-11-28 00:59:44 +01:00
parent d5f4d5d93f
commit 4cc3d3f3e2
No known key found for this signature in database
GPG Key ID: 2EA0A99A8B07AE5E

View File

@ -69,5 +69,10 @@ Item {
color: fontColor color: fontColor
onLinkActivated: item.linkActivated() onLinkActivated: item.linkActivated()
textFormat: parent.textFormat textFormat: parent.textFormat
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.NoButton
cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor
}
} }
} }