From 4cc3d3f3e2b8712e851ed91f60b7fbc20c7ae07a Mon Sep 17 00:00:00 2001 From: selsta Date: Thu, 28 Nov 2019 00:59:44 +0100 Subject: [PATCH] Label: change cursor on link hover --- components/Label.qml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/Label.qml b/components/Label.qml index 8437dbf6..3f965901 100644 --- a/components/Label.qml +++ b/components/Label.qml @@ -69,5 +69,10 @@ Item { color: fontColor onLinkActivated: item.linkActivated() textFormat: parent.textFormat + MouseArea { + anchors.fill: parent + acceptedButtons: Qt.NoButton + cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor + } } }