summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/components/MotdBox.qml9
-rw-r--r--gui/components/Splash.qml5
2 files changed, 11 insertions, 3 deletions
diff --git a/gui/components/MotdBox.qml b/gui/components/MotdBox.qml
index 3d833a3..18c928e 100644
--- a/gui/components/MotdBox.qml
+++ b/gui/components/MotdBox.qml
@@ -1,4 +1,4 @@
-import QtQuick 2.9
+import QtQuick 2.15
import QtQuick.Controls 2.2
import QtGraphicalEffects 1.0
import "../themes/themes.js" as Theme
@@ -27,6 +27,10 @@ Item {
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.Wrap
font.pixelSize: Theme.fontSizeSmall - 2
+ onLinkActivated: Qt.openUrlExternally(link)
+ HoverHandler {
+ cursorShape: Qt.PointingHandCursor
+ }
}
Label {
@@ -40,6 +44,9 @@ Item {
wrapMode: Label.Wrap
font.pixelSize: Theme.fontSizeSmall
onLinkActivated: Qt.openUrlExternally(link)
+ HoverHandler {
+ cursorShape: Qt.PointingHandCursor
+ }
}
}
}
diff --git a/gui/components/Splash.qml b/gui/components/Splash.qml
index 8c3c310..dfdd622 100644
--- a/gui/components/Splash.qml
+++ b/gui/components/Splash.qml
@@ -97,7 +97,7 @@ Page {
}
function getUpgradeText() {
- return qsTr("There is a newer version available. ") + qsTr("Make sure to uninstall the previous one before running the new installer.")
+ return qsTr("There is a newer version available. ") + qsTr("Make sure to <a href=\"https://0xacab.org/leap/bitmask-vpn/-/blob/main/docs/uninstall.md\">uninstall</a> the previous one before running the new installer.")
}
function getUpgradeLink() {
@@ -114,8 +114,9 @@ Page {
return true
}
let platform = Qt.platform.os
- //DEBUG --
+ //DEBUG -------------------------------------------------------------------
//if (platform == "windows" || platform == "osx" || platform == "linux" ) {
+ //DEBUG -------------------------------------------------------------------
if (platform == "windows" || platform == "osx") {
return true
}