From abb65c7fcf570e69480ca70c92d4e271a78ffee2 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Tue, 4 Aug 2020 12:55:47 +0200 Subject: Unblock is not needed switch off does unblock bitmask --- gui/backend.go | 5 ----- gui/handlers.cpp | 5 ----- gui/handlers.h | 1 - pkg/backend/api.go | 5 ----- 4 files changed, 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) -- cgit v1.2.3