Commit 4f0b02c6 authored by Edric Milaret's avatar Edric Milaret

settings: adapt to LRC API change

- Change to API private key

Issue: #78968
Change-Id: Ifd828ce3a06a7132f838417ef77513871db01099
parent be0aa5a1
......@@ -193,16 +193,16 @@ AccountDetails::setAccount(Account* currentAccount) {
ui->tlsProtocoCombo->setModel(currentAccount_->tlsMethodModel());
if (currentAccount_->tlsCaListCertificate())
ui->lrcfg_tlsCaListCertificate->setText(currentAccount_->tlsCaListCertificate()->path().fileName());
ui->lrcfg_tlsCaListCertificate->setText(currentAccount_->tlsCaListCertificate()->path());
if (currentAccount_->tlsCertificate())
ui->lrcfg_tlsCertificate->setText(currentAccount_->tlsCertificate()->path().fileName());
if (currentAccount_->tlsPrivateKeyCertificate())
ui->lrcfg_tlsPrivateKeyCertificate->setText(currentAccount_->tlsPrivateKeyCertificate()->path().fileName());
ui->lrcfg_tlsCertificate->setText(currentAccount_->tlsCertificate()->path());
if (not currentAccount_->tlsPrivateKey().isEmpty())
ui->lrcfg_tlsPrivateKeyCertificate->setText(currentAccount_->tlsPrivateKey());
#ifdef Q_OS_WIN32
certMap_[ui->lrcfg_tlsCaListCertificate->objectName()] = &currentAccount_->setTlsCaListCertificate;
certMap_[ui->lrcfg_tlsCertificate->objectName()] = &currentAccount_->setTlsCertificate;
certMap_[ui->lrcfg_tlsPrivateKeyCertificate->objectName()] = &currentAccount_->setTlsPrivateKeyCertificate;
certMap_[ui->lrcfg_tlsPrivateKeyCertificate->objectName()] = &currentAccount_->setTlsPrivateKey;
#endif
ui->srtpEnabled->disconnect();
......
Markdown is supported
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