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
f7cda637
Commit
f7cda637
authored
Aug 30, 2021
by
Laurent Montel
😁
Browse files
Use qOverload directly (scripted)
parent
2abb127c
Pipeline
#77328
passed with stage
in 6 minutes and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/sessionthread.cpp
View file @
f7cda637
...
...
@@ -195,10 +195,7 @@ void SessionThread::threadInit()
// 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
::
connected
,
this
,
&
SessionThread
::
socketConnected
);
connect
(
m_socket
.
get
(),
QOverload
<
QAbstractSocket
::
SocketError
>::
of
(
&
QAbstractSocket
::
errorOccurred
),
this
,
&
SessionThread
::
slotSocketError
);
connect
(
m_socket
.
get
(),
qOverload
<
QAbstractSocket
::
SocketError
>
(
&
QAbstractSocket
::
errorOccurred
),
this
,
&
SessionThread
::
slotSocketError
);
connect
(
m_socket
.
get
(),
&
QIODevice
::
bytesWritten
,
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