Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KDE PIM Runtime
Commits
b69f2557
Commit
b69f2557
authored
May 16, 2021
by
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
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
b69f2557
...
...
@@ -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=0x055
3
00
)
add_definitions
(
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055
2
00
)
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
)
...
...
kioslave/pop3/pop3.cpp
View file @
b69f2557
...
...
@@ -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"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment