fix hovered link not opening directly

This commit is contained in:
Zarg 2025-01-03 00:21:32 +01:00
parent baa83942ad
commit e60a7b0abd

View file

@ -124,7 +124,7 @@ ApplicationWindow {
// In the app, we use open-external IPC signal, but make sure this works anyway
property string hoveredLink: ""
onLinkHovered: hoveredLink = url
onLinkHovered: function(url) { hoveredLink = url }
onNewWindowRequested: function(req) { if (req.userInitiated) Qt.openUrlExternally(hoveredLink) }
// FIXME: When is this called?