summaryrefslogtreecommitdiff
path: root/gui/qml
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-11-03 19:44:33 +0100
committerkali kaneko (leap communications) <kali@leap.se>2020-11-03 19:59:56 +0100
commitd563efd01f8f75c04d6a9f1b87b8a2244cc7e35d (patch)
treeaad8accccbdf50c84de2df56840f1b96a661e108 /gui/qml
parentf4c362a7f75122dfd3850749f4b3267e16883e57 (diff)
[pkg] put desktop place in gui folder for snaps
this was left out of the packaging refactor by mistake. - Resolves: #368
Diffstat (limited to 'gui/qml')
-rw-r--r--gui/qml/DonateDialog.qml2
-rw-r--r--gui/qml/main.qml6
2 files changed, 6 insertions, 2 deletions
diff --git a/gui/qml/DonateDialog.qml b/gui/qml/DonateDialog.qml
index afbd57b..366d559 100644
--- a/gui/qml/DonateDialog.qml
+++ b/gui/qml/DonateDialog.qml
@@ -18,7 +18,7 @@ MessageDialog {
onAccepted: {
if (backend) {
- Qt.openUrlExternally(ctx.donateURL)
+ Qt.openUrlExternally(Qt.resolvedUrl(ctx.donateURL))
backend.donateAccepted()
}
}
diff --git a/gui/qml/main.qml b/gui/qml/main.qml
index a3218de..5d8b825 100644
--- a/gui/qml/main.qml
+++ b/gui/qml/main.qml
@@ -242,7 +242,11 @@ ApplicationWindow {
MenuItem {
text: qsTr("Help...")
- onTriggered: Qt.openUrlExternally(ctx.helpURL)
+
+ onTriggered: {
+ console.debug(Qt.resolvedUrl(ctx.helpURL));
+ Qt.openUrlExternally(Qt.resolvedUrl(ctx.helpURL))
+ }
}
MenuItem {