diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-06-28 17:05:26 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-06-28 17:05:26 +0200 |
commit | 62bdf95a6afe10810b681a722774d185677d1736 (patch) | |
tree | ac5e6a4bdf39f07f8c23ed2e033916def13b1316 /components/mailviewer/contents/ui/TextContent.qml | |
parent | 30ba96b580e7d7593ff4cbe70b5dca5c895be873 (diff) | |
download | kube-62bdf95a6afe10810b681a722774d185677d1736.tar.gz kube-62bdf95a6afe10810b681a722774d185677d1736.zip |
Show a mouse-cursor on hover
Diffstat (limited to 'components/mailviewer/contents/ui/TextContent.qml')
-rw-r--r-- | components/mailviewer/contents/ui/TextContent.qml | 6 |
1 files changed, 6 insertions, 0 deletions
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 { | |||
53 | 53 | ||
54 | color: embedded ? Kube.Colors.disabledTextColor : Kube.Colors.textColor | 54 | color: embedded ? Kube.Colors.disabledTextColor : Kube.Colors.textColor |
55 | onLinkActivated: Qt.openUrlExternally(link) | 55 | onLinkActivated: Qt.openUrlExternally(link) |
56 | //TODO This might no longer be necessary starting with Qt 5.8 | ||
57 | MouseArea { | ||
58 | anchors.fill: parent | ||
59 | acceptedButtons: Qt.NoButton // we don't want to eat clicks on the Text | ||
60 | cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor | ||
61 | } | ||
56 | } | 62 | } |
57 | } | 63 | } |
58 | } | 64 | } |