mirror of
				https://github.com/yuezk/GlobalProtect-openconnect.git
				synced 2025-05-20 07:26:58 -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:
		| @@ -51,13 +51,13 @@ void GPClient::on_connectButton_clicked() | |||||||
| { | { | ||||||
|     QString btnText = ui->connectButton->text(); |     QString btnText = ui->connectButton->text(); | ||||||
|  |  | ||||||
|     if (btnText == "Connect") { |     if (btnText.endsWith("Connect")) { | ||||||
|         QString portal = ui->portalInput->text(); |         QString portal = ui->portalInput->text(); | ||||||
|         settings->setValue("portal", portal); |         settings->setValue("portal", portal); | ||||||
|         ui->statusLabel->setText("Authenticating..."); |         ui->statusLabel->setText("Authenticating..."); | ||||||
|         updateConnectionStatus("pending"); |         updateConnectionStatus("pending"); | ||||||
|         doAuth(portal); |         doAuth(portal); | ||||||
|     } else if (btnText == "Cancel") { |     } else if (btnText.endsWith("Cancel")) { | ||||||
|         ui->statusLabel->setText("Canceling..."); |         ui->statusLabel->setText("Canceling..."); | ||||||
|         updateConnectionStatus("pending"); |         updateConnectionStatus("pending"); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user