Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Commit

Permalink
Remove QSsl deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
vitallium authored and ariya committed Jan 10, 2020
1 parent 36e2d94 commit a283cb4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

#include <QApplication>
#include <QIcon>
#include <QSslConfiguration>
#include <QSslSocket>
#include <QWebSettings>

Expand Down Expand Up @@ -61,7 +62,7 @@ static int inner_main(int argc, char** argv)
#if defined(Q_OS_LINUX)
if (QSslSocket::supportsSsl()) {
// Don't perform on-demand loading of root certificates on Linux
QSslSocket::addDefaultCaCertificates(QSslSocket::systemCaCertificates());
QSslSocket::addDefaultCaCertificates(QSslConfiguration::systemCaCertificates());
}
#endif

Expand Down

0 comments on commit a283cb4

Please sign in to comment.