Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libksieve
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PIM
libksieve
Commits
81f695c9
Commit
81f695c9
authored
Mar 04, 2020
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make it compile against qt5.15
parent
fc14821f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/kmanagesieve/sessionthread.cpp
src/kmanagesieve/sessionthread.cpp
+4
-0
No files found.
src/kmanagesieve/sessionthread.cpp
View file @
81f695c9
...
...
@@ -84,7 +84,11 @@ void SessionThread::doInit()
Q_ASSERT
(
QThread
::
currentThread
()
==
thread
());
m_socket
=
std
::
make_unique
<
QSslSocket
>
();
connect
(
m_socket
.
get
(),
&
QSslSocket
::
readyRead
,
this
,
&
SessionThread
::
slotDataReceived
);
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
connect
(
m_socket
.
get
(),
QOverload
<
QAbstractSocket
::
SocketError
>::
of
(
&
QAbstractSocket
::
error
),
this
,
&
SessionThread
::
slotSocketError
);
#else
connect
(
m_socket
.
get
(),
QOverload
<
QAbstractSocket
::
SocketError
>::
of
(
&
QAbstractSocket
::
errorOccurred
),
this
,
&
SessionThread
::
slotSocketError
);
#endif
connect
(
m_socket
.
get
(),
&
QSslSocket
::
disconnected
,
this
,
&
SessionThread
::
socketDisconnected
);
connect
(
m_socket
.
get
(),
&
QSslSocket
::
connected
,
this
,
&
SessionThread
::
socketConnected
);
}
...
...
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