Commit b69f2557 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

It seems that with not deprecated we can't log to pop3... I need to

investigate it
parent 599f4e8a
Pipeline #62174 failed with stage
in 24 minutes and 46 seconds
......@@ -161,7 +161,7 @@ set_package_properties(Qt5Keychain PROPERTIES
option(KDEPIM_RUN_ISOLATED_TESTS "Run the isolated tests." FALSE)
#add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00)
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055300)
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055200)
find_package(Xsltproc)
set_package_properties(Xsltproc PROPERTIES DESCRIPTION "XSLT processor from libxslt" TYPE REQUIRED PURPOSE "Required to generate D-Bus interfaces for all Akonadi resources.")
add_definitions(-DQT_NO_EMIT)
......
......@@ -608,11 +608,11 @@ bool POP3Protocol::pop3_open()
// use QSslSocket internally
QNetworkProxy proxy;
proxy.setType(QNetworkProxy::NoProxy);
#if KIO_VERSION < QT_VERSION_CHECK(5, 83, 0)
//#if KIO_VERSION < QT_VERSION_CHECK(5, 83, 0)
if (auto sock = qobject_cast<QSslSocket *>(socket())) {
#else
if (auto sock = qobject_cast<QSslSocket *>(tcpSocket())) {
#endif
//#else
// if (auto sock = qobject_cast<QSslSocket *>(tcpSocket())) {
//#endif
sock->setProxy(proxy);
} else {
qCWarning(POP3_LOG) << "no socket, cannot set no proxy";
......
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