mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
Bugfix for KDE build with Qt 5.11 from Debian 10 (#3)
Co-authored-by: Johannes Braun <jobraun@PC080>
This commit is contained in:
parent
81d4f9836f
commit
0ccb1371ab
@ -51,13 +51,13 @@ void GPClient::on_connectButton_clicked()
|
||||
{
|
||||
QString btnText = ui->connectButton->text();
|
||||
|
||||
if (btnText == "Connect") {
|
||||
if (btnText.endsWith("Connect")) {
|
||||
QString portal = ui->portalInput->text();
|
||||
settings->setValue("portal", portal);
|
||||
ui->statusLabel->setText("Authenticating...");
|
||||
updateConnectionStatus("pending");
|
||||
doAuth(portal);
|
||||
} else if (btnText == "Cancel") {
|
||||
} else if (btnText.endsWith("Cancel")) {
|
||||
ui->statusLabel->setText("Canceling...");
|
||||
updateConnectionStatus("pending");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user