From 62bdf95a6afe10810b681a722774d185677d1736 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 28 Jun 2017 17:05:26 +0200 Subject: Show a mouse-cursor on hover --- components/mailviewer/contents/ui/TextContent.qml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'components') diff --git a/components/mailviewer/contents/ui/TextContent.qml b/components/mailviewer/contents/ui/TextContent.qml index b25aac17..ee3284d4 100644 --- a/components/mailviewer/contents/ui/TextContent.qml +++ b/components/mailviewer/contents/ui/TextContent.qml @@ -53,6 +53,12 @@ Item { color: embedded ? Kube.Colors.disabledTextColor : Kube.Colors.textColor onLinkActivated: Qt.openUrlExternally(link) + //TODO This might no longer be necessary starting with Qt 5.8 + MouseArea { + anchors.fill: parent + acceptedButtons: Qt.NoButton // we don't want to eat clicks on the Text + cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor + } } } } -- cgit v1.2.3