KDSingleApplicationLocalSocket: Remove useless std::move
This commit is contained in:
parent
f1ae795c0f
commit
f03505ab67
@ -186,7 +186,7 @@ void KDSingleApplicationLocalSocket::handleNewConnection()
|
|||||||
while ((socket = m_localServer->nextPendingConnection())) {
|
while ((socket = m_localServer->nextPendingConnection())) {
|
||||||
qCDebug(kdsaLocalSocket) << "Got new connection on" << m_socketName << "state" << socket->state();
|
qCDebug(kdsaLocalSocket) << "Got new connection on" << m_socketName << "state" << socket->state();
|
||||||
|
|
||||||
Connection c(std::move(socket));
|
Connection c(socket);
|
||||||
socket = c.socket.get();
|
socket = c.socket.get();
|
||||||
|
|
||||||
c.readDataConnection = QObjectConnectionHolder(
|
c.readDataConnection = QObjectConnectionHolder(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user