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
KIMAP
Commits
066cc221
Commit
066cc221
authored
Sep 27, 2021
by
Laurent Montel
😁
Browse files
Not necessary to use qOverload here
parent
8cf1e3d2
Pipeline
#82928
passed with stage
in 8 minutes and 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/sessionthread.cpp
View file @
066cc221
...
@@ -195,7 +195,7 @@ void SessionThread::threadInit()
...
@@ -195,7 +195,7 @@ void SessionThread::threadInit()
// Delay the call to slotSocketDisconnected so that it finishes disconnecting before we call reconnect()
// Delay the call to slotSocketDisconnected so that it finishes disconnecting before we call reconnect()
connect
(
m_socket
.
get
(),
&
QSslSocket
::
disconnected
,
this
,
&
SessionThread
::
slotSocketDisconnected
,
Qt
::
QueuedConnection
);
connect
(
m_socket
.
get
(),
&
QSslSocket
::
disconnected
,
this
,
&
SessionThread
::
slotSocketDisconnected
,
Qt
::
QueuedConnection
);
connect
(
m_socket
.
get
(),
&
QSslSocket
::
connected
,
this
,
&
SessionThread
::
socketConnected
);
connect
(
m_socket
.
get
(),
&
QSslSocket
::
connected
,
this
,
&
SessionThread
::
socketConnected
);
connect
(
m_socket
.
get
(),
qOverload
<
QAbstractSocket
::
SocketError
>
(
&
QAbstractSocket
::
errorOccurred
)
,
this
,
&
SessionThread
::
slotSocketError
);
connect
(
m_socket
.
get
(),
&
QAbstractSocket
::
errorOccurred
,
this
,
&
SessionThread
::
slotSocketError
);
connect
(
m_socket
.
get
(),
&
QIODevice
::
bytesWritten
,
this
,
&
SessionThread
::
socketActivity
);
connect
(
m_socket
.
get
(),
&
QIODevice
::
bytesWritten
,
this
,
&
SessionThread
::
socketActivity
);
connect
(
m_socket
.
get
(),
&
QSslSocket
::
encryptedBytesWritten
,
this
,
&
SessionThread
::
socketActivity
);
connect
(
m_socket
.
get
(),
&
QSslSocket
::
encryptedBytesWritten
,
this
,
&
SessionThread
::
socketActivity
);
...
...
Write
Preview
Supports
Markdown
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