Skip to content

Commit

Permalink
Allow build with Qt <5.15
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandrePTJ committed Aug 20, 2020
1 parent fa889e8 commit 3633f95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/kimaiclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void KimaiClient::addTrustedCertificates(const QStringList& trustedCertificates)
{
auto certificates = sslConfiguration.caCertificates();
certificates << QSslCertificate::fromData(pemStr.toLocal8Bit());
sslConfiguration.addCaCertificates(certificates);
sslConfiguration.setCaCertificates(certificates);
}
QSslConfiguration::setDefaultConfiguration(sslConfiguration);
}

0 comments on commit 3633f95

Please sign in to comment.