Commit 87a41b24 authored by Volker Krause's avatar Volker Krause
Browse files

Make links in disruption notes interactive

parent 007d8fdf
...@@ -111,6 +111,7 @@ Kirigami.ScrollablePage { ...@@ -111,6 +111,7 @@ Kirigami.ScrollablePage {
wrapMode: Text.Wrap wrapMode: Text.Wrap
visible: departure.notes.length > 0 visible: departure.notes.length > 0
font.italic: true font.italic: true
onLinkActivated: Qt.openUrlExternally(link)
} }
} }
} }
......
...@@ -158,6 +158,7 @@ Kirigami.AbstractListItem { ...@@ -158,6 +158,7 @@ Kirigami.AbstractListItem {
wrapMode: Text.Wrap wrapMode: Text.Wrap
visible: modelData.notes.length > 0 visible: modelData.notes.length > 0
font.italic: true font.italic: true
onLinkActivated: Qt.openUrlExternally(link)
} }
} }
} }
...@@ -193,6 +193,7 @@ Item { ...@@ -193,6 +193,7 @@ Item {
wrapMode: Text.Wrap wrapMode: Text.Wrap
visible: stop.notes.length > 0 && !isDeparture visible: stop.notes.length > 0 && !isDeparture
font.italic: true font.italic: true
onLinkActivated: Qt.openUrlExternally(link)
} }
} }
} }
...@@ -169,6 +169,7 @@ App.DetailsPage { ...@@ -169,6 +169,7 @@ App.DetailsPage {
wrapMode: Text.Wrap wrapMode: Text.Wrap
visible: departure.notes.length > 0 visible: departure.notes.length > 0
font.italic: true font.italic: true
onLinkActivated: Qt.openUrlExternally(link)
} }
// arrival data // arrival data
...@@ -218,6 +219,7 @@ App.DetailsPage { ...@@ -218,6 +219,7 @@ App.DetailsPage {
wrapMode: Text.Wrap wrapMode: Text.Wrap
visible: arrival.notes.length > 0 visible: arrival.notes.length > 0
font.italic: true font.italic: true
onLinkActivated: Qt.openUrlExternally(link)
} }
// seat reservation // seat reservation
......
Markdown is supported
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