summaryrefslogtreecommitdiff
path: root/gui/qml/DonateDialog.qml
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-06-16 21:28:48 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-06-26 12:12:41 +0200
commitc17b5f6f7b6b28c890764688ff5e966ecebece63 (patch)
tree4c9931b10e7cddd9050f76aff95205dbf04d6d26 /gui/qml/DonateDialog.qml
parenta18e61aa1be37aa568552c69fbd743d25498b9bb (diff)
[feat] re-implement donation reminders
first pass on giving functionality to the donation reminder
Diffstat (limited to 'gui/qml/DonateDialog.qml')
-rw-r--r--gui/qml/DonateDialog.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/gui/qml/DonateDialog.qml b/gui/qml/DonateDialog.qml
index b7431ab..eb761a4 100644
--- a/gui/qml/DonateDialog.qml
+++ b/gui/qml/DonateDialog.qml
@@ -16,12 +16,13 @@ MessageDialog {
onAccepted: {
if (backend) {
- backend.donateAccepted(true)
+ backend.openURL(ctx.donateURL)
+ backend.donateAccepted()
}
}
onRejected: {
if (backend) {
- backend.donateAccepted(false)
+ backend.donateRejected()
}
}
}