From a283cb4e55b9bed21703887039ba90137e51f26f Mon Sep 17 00:00:00 2001 From: Vitaly Slobodin Date: Fri, 10 Jan 2020 16:58:47 +0300 Subject: [PATCH] Remove QSsl deprecation warnings --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 3cf6aab80..9126358ce 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -34,6 +34,7 @@ #include #include +#include #include #include @@ -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