KDSingleApplicationLocalSocket: Remove useless std::move

This commit is contained in:
Jonas Kvinge 2023-06-06 22:24:10 +02:00
parent f1ae795c0f
commit f03505ab67
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ void KDSingleApplicationLocalSocket::handleNewConnection()
while ((socket = m_localServer->nextPendingConnection())) {
qCDebug(kdsaLocalSocket) << "Got new connection on" << m_socketName << "state" << socket->state();
Connection c(std::move(socket));
Connection c(socket);
socket = c.socket.get();
c.readDataConnection = QObjectConnectionHolder(