Commit 5ea53b2d authored by Ambroise Rosset's avatar Ambroise Rosset Committed by Jan Grulich
Browse files

Fix a mistake in commit 1b2c616c

When I have provided the commit 1b2c616c to add the possibility to tune
the useragent, I have forgoted to initiliaze the UserAgent field with
the current value present in configuration file.

This commit only fix this issue
parent 193621bd
Pipeline #192140 passed with stage
in 1 minute and 53 seconds
......@@ -219,6 +219,7 @@ void OpenconnectSettingWidget::loadConfig(const NetworkManager::Setting::Ptr &se
d->ui.leGateway->setText(dataMap[NM_OPENCONNECT_KEY_GATEWAY]);
d->ui.leCaCertificate->setUrl(QUrl::fromLocalFile(dataMap[NM_OPENCONNECT_KEY_CACERT]));
d->ui.leProxy->setText(dataMap[NM_OPENCONNECT_KEY_PROXY]);
d->ui.leUserAgent->setText(dataMap[NM_OPENCONNECT_KEY_USERAGENT]);
d->ui.cmbReportedOs->setCurrentIndex(cmbReportedOsIndex);
d->ui.chkAllowTrojan->setChecked(dataMap[NM_OPENCONNECT_KEY_CSD_ENABLE] == "yes");
d->ui.leCsdWrapperScript->setUrl(QUrl::fromLocalFile(dataMap[NM_OPENCONNECT_KEY_CSD_WRAPPER]));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment