diff --git a/src/qml/Desktop/DesktopPlayerControls.qml b/src/qml/Desktop/DesktopPlayerControls.qml index b4a0dc1d..ef4e01bd 100644 --- a/src/qml/Desktop/DesktopPlayerControls.qml +++ b/src/qml/Desktop/DesktopPlayerControls.qml @@ -490,7 +490,7 @@ FocusScope { onLinkHovered: { cursorShape: Qt.PointingHandCursor; } - onLinkActivated: { + onLinkActivated: (link) => { if (link.split("://")[0] === "timestamp") { if (AudioManager.entry && AudioManager.entry.enclosure) { AudioManager.seek(link.split("://")[1]); diff --git a/src/qml/EntryPage.qml b/src/qml/EntryPage.qml index 33b82fd4..277cb309 100644 --- a/src/qml/EntryPage.qml +++ b/src/qml/EntryPage.qml @@ -241,7 +241,7 @@ Kirigami.ScrollablePage { font.pointSize: SettingsManager && !(SettingsManager.articleFontUseSystem) ? SettingsManager.articleFontSize : Kirigami.Theme.defaultFont.pointSize color: Kirigami.Theme.textColor - onLinkActivated: { + onLinkActivated: (link) => { if (link.split("://")[0] === "timestamp") { if (AudioManager.entry && AudioManager.entry.enclosure && entry.enclosure && (entry.enclosure.status === Enclosure.Downloaded || SettingsManager.prioritizeStreaming)) { if (AudioManager.entry !== entry) { diff --git a/src/qml/FeedDetailsPage.qml b/src/qml/FeedDetailsPage.qml index 56a69946..185408cb 100644 --- a/src/qml/FeedDetailsPage.qml +++ b/src/qml/FeedDetailsPage.qml @@ -293,7 +293,9 @@ Kirigami.ScrollablePage { selectByMouse: !Kirigami.Settings.isMobile textFormat:TextEdit.RichText text: "%1".arg(feed.link) - onLinkActivated: Qt.openUrlExternally(link) + onLinkActivated: (link) => { + Qt.openUrlExternally(link); + } wrapMode: Text.WordWrap Layout.fillWidth: true color: Kirigami.Theme.textColor diff --git a/src/qml/Mobile/MobilePlayerControls.qml b/src/qml/Mobile/MobilePlayerControls.qml index 01f5a3c8..d7fcec7f 100644 --- a/src/qml/Mobile/MobilePlayerControls.qml +++ b/src/qml/Mobile/MobilePlayerControls.qml @@ -194,7 +194,7 @@ Kirigami.Page { onLinkHovered: { cursorShape: Qt.PointingHandCursor; } - onLinkActivated: { + onLinkActivated: (link) => { if (link.split("://")[0] === "timestamp") { if (AudioManager.entry && AudioManager.entry.enclosure) { AudioManager.seek(link.split("://")[1]); diff --git a/src/qml/Settings/SynchronizationSettingsPage.qml b/src/qml/Settings/SynchronizationSettingsPage.qml index 6f0cd71e..632098b5 100644 --- a/src/qml/Settings/SynchronizationSettingsPage.qml +++ b/src/qml/Settings/SynchronizationSettingsPage.qml @@ -308,7 +308,9 @@ Kirigami.ScrollablePage { readOnly: true wrapMode: Text.WordWrap textFormat: Text.RichText - onLinkActivated: Qt.openUrlExternally(link) + onLinkActivated: (link) => { + Qt.openUrlExternally(link); + } text: Sync.provider === Sync.GPodderNextcloud ? i18nc("argument is a weblink", "Sync with a Nextcloud server that has the GPodder Sync app installed: %1.
It is advised to manually create an app password for Kasts through the web interface and use those credentials." , "https://apps.nextcloud.com/apps/gpoddersync") : i18nc("argument is a weblink", "If you don't already have an account, you should first create one at %1", "https://gpodder.net")