diff options
Diffstat (limited to 'gui/handlers.cpp')
-rw-r--r-- | gui/handlers.cpp | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/gui/handlers.cpp b/gui/handlers.cpp index e37de2d..39a5746 100644 --- a/gui/handlers.cpp +++ b/gui/handlers.cpp @@ -1,5 +1,7 @@ #include <QTimer> #include <QDebug> +#include <QDesktopServices> +#include <QUrl> #include "handlers.h" #include "lib/libgoshim.h" @@ -23,9 +25,19 @@ void Backend::unblock() Unblock(); } -void Backend::toggleDonate() +void Backend::donateAccepted() { - ToggleDonate(); + DonateAccepted(); +} + +void Backend::donateRejected() +{ + DonateRejected(); +} + +void Backend::openURL(QString link) +{ + QDesktopServices::openUrl(QUrl(link)); } void Backend::quit() |