diff options
author | Ruben Pollan <meskio@sindominio.net> | 2020-08-04 12:55:47 +0200 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2020-08-13 17:16:07 +0200 |
commit | abb65c7fcf570e69480ca70c92d4e271a78ffee2 (patch) | |
tree | fddab05a9c5fc4e10a2f3c31500283174a43720b | |
parent | 5ba62c56b2a94b9f5ae06b150713f84d5a3144fa (diff) |
Unblock is not needed switch off does unblock bitmask
-rw-r--r-- | gui/backend.go | 5 | ||||
-rw-r--r-- | gui/handlers.cpp | 5 | ||||
-rw-r--r-- | gui/handlers.h | 1 | ||||
-rw-r--r-- | pkg/backend/api.go | 5 |
4 files changed, 0 insertions, 16 deletions
diff --git a/gui/backend.go b/gui/backend.go index af29ec6..536ade3 100644 --- a/gui/backend.go +++ b/gui/backend.go @@ -32,11 +32,6 @@ func SwitchOff() { backend.SwitchOff() } -//export Unblock -func Unblock() { - backend.Unblock() -} - //export Quit func Quit() { backend.Quit() diff --git a/gui/handlers.cpp b/gui/handlers.cpp index de54161..ab64afb 100644 --- a/gui/handlers.cpp +++ b/gui/handlers.cpp @@ -30,11 +30,6 @@ void Backend::switchOff() SwitchOff(); } -void Backend::unblock() -{ - Unblock(); -} - void Backend::donateAccepted() { DonateAccepted(); diff --git a/gui/handlers.h b/gui/handlers.h index 8f89279..62a733d 100644 --- a/gui/handlers.h +++ b/gui/handlers.h @@ -34,7 +34,6 @@ public slots: QString getVersion(); void switchOn(); void switchOff(); - void unblock(); void donateAccepted(); void quit(); }; diff --git a/pkg/backend/api.go b/pkg/backend/api.go index 0cab17f..99e156f 100644 --- a/pkg/backend/api.go +++ b/pkg/backend/api.go @@ -24,11 +24,6 @@ func SwitchOff() { go stopVPN() } -func Unblock() { - //TODO - - fmt.Println("unblock... [not implemented]") -} - func Quit() { if ctx.Status != off { go setStatus(stopping) |