diff options
-rw-r--r-- | qml/pages/LongTermPage.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qml/pages/LongTermPage.qml b/qml/pages/LongTermPage.qml index 54fa12c..d802df4 100644 --- a/qml/pages/LongTermPage.qml +++ b/qml/pages/LongTermPage.qml @@ -51,7 +51,9 @@ BasicPage { property bool cityLoaded: false - onCityLoadedChanged: updateStatusBar(ApplicationInfo.currentCityModel.copyright + " <a href=" + ApplicationInfo.currentCityModel.sourceXml + "\>(source)") + property string sourceLink: ApplicationInfo.currentCityModel.sourceXml.replace(/\/forecast.xml$/, "") + + onCityLoadedChanged: updateStatusBar(ApplicationInfo.currentCityModel.copyright + " <a href=" + sourceLink + "\>(source)") pageComponent: Item { TouchScrollView { |