From 15a73b7dba73a7877c3611718557a53fcf0a52ab Mon Sep 17 00:00:00 2001 From: Joe Date: Sun, 19 Jun 2022 23:28:02 -0300 Subject: [PATCH] add es and pt support to shange status when connected to vpn (#162) --- 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(); }