diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-18 15:32:23 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-18 15:32:23 +1000 |
| commit | 686566c12efa4cf98f2a880b1709165609eeee9f (patch) | |
| tree | d632e83293d989872c9029badd11b0d2a65cc492 /modules/notifications/Notification.qml | |
| parent | bar: fix workspaces and tray icons (diff) | |
| download | caelestia-shell-686566c12efa4cf98f2a880b1709165609eeee9f.tar.gz caelestia-shell-686566c12efa4cf98f2a880b1709165609eeee9f.tar.bz2 caelestia-shell-686566c12efa4cf98f2a880b1709165609eeee9f.zip | |
notifs: make links work
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 { |