From f278cd4629874eb1a54949878b23987db04bcbfd Mon Sep 17 00:00:00 2001 From: Joe Esteves Date: Sun, 19 Jun 2022 19:59:43 -0300 Subject: [PATCH] add es and pt support to shange status when connected to vpn --- GPService/gpservice.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/GPService/gpservice.cpp b/GPService/gpservice.cpp index 754cee9..40d06b8 100644 --- a/GPService/gpservice.cpp +++ b/GPService/gpservice.cpp @@ -199,7 +199,9 @@ void GPService::onProcessStdout() QString output = openconnect->readAllStandardOutput(); log(output); - if (output.indexOf("Connected as") >= 0 || output.indexOf("Configured as") >= 0) { + if (output.indexOf("Connected as") >= 0 || + output.indexOf("Configured as") >= 0 || + output.indexOf("Configurado como") >= 0) { vpnStatus = GPService::VpnConnected; emit connected(); }