diff options
Diffstat (limited to 'modules/notifications/Notification.qml')
| -rw-r--r-- | modules/notifications/Notification.qml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/notifications/Notification.qml b/modules/notifications/Notification.qml index 6550e28..a57c8d2 100644 --- a/modules/notifications/Notification.qml +++ b/modules/notifications/Notification.qml @@ -36,7 +36,7 @@ StyledRect { anchors.fill: parent hoverEnabled: true - cursorShape: pressed ? Qt.ClosedHandCursor : undefined + cursorShape: body.hoveredLink ? Qt.PointingHandCursor : pressed ? Qt.ClosedHandCursor : undefined acceptedButtons: Qt.LeftButton | Qt.MiddleButton preventStealing: true @@ -414,6 +414,11 @@ StyledRect { font.pointSize: Appearance.font.size.small wrapMode: Text.WrapAtWordBoundaryOrAnywhere + onLinkActivated: link => { + Qt.openUrlExternally(link); + root.modelData.popup = false; + } + opacity: root.expanded ? 1 : 0 Behavior on opacity { |