Commit aa1b0ea2 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[Notifications] Simplify hyperlink cursor handling

parent 8db767cf
......@@ -298,14 +298,7 @@ MouseArea {
anchors.fill: parent
acceptedButtons: Qt.RightButton | Qt.LeftButton
hoverEnabled: true // allow us to update cursorShape on the fly
cursorShape: {
if (bodyText.linkAt(mouseX, mouseY)) {
return Qt.PointingHandCursor;
} else {
return Qt.IBeamCursor;
}
}
cursorShape: bodyText.hoveredLink ? Qt.PointingHandCursor : Qt.IBeamCursor
preventStealing: true // don't let us accidentally drag the Flickable
onPressed: {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment