summaryrefslogtreecommitdiff
path: root/gui/qml
diff options
context:
space:
mode:
Diffstat (limited to 'gui/qml')
-rw-r--r--gui/qml/DonateDialog.qml7
-rw-r--r--gui/qml/main.qml2
2 files changed, 2 insertions, 7 deletions
diff --git a/gui/qml/DonateDialog.qml b/gui/qml/DonateDialog.qml
index fd27a6b..de7ab5b 100644
--- a/gui/qml/DonateDialog.qml
+++ b/gui/qml/DonateDialog.qml
@@ -16,13 +16,8 @@ MessageDialog {
onAccepted: {
if (backend) {
- backend.openURL(ctx.donateURL)
+ Qt.openUrlExternally(ctx.donateURL)
backend.donateAccepted()
}
}
- onRejected: {
- if (backend) {
- backend.donateRejected()
- }
- }
}
diff --git a/gui/qml/main.qml b/gui/qml/main.qml
index efcfef2..efe0111 100644
--- a/gui/qml/main.qml
+++ b/gui/qml/main.qml
@@ -178,7 +178,7 @@ ApplicationWindow {
MenuItem {
text: qsTr("Help...")
- onTriggered: backend.openURL(ctx.helpURL)
+ onTriggered: Qt.openUrlExternally(ctx.helpURL)
}
MenuItem {