1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-02-04 03:17:30 +01:00

KDSingleApplicationLocalSocket: Initialize socket

This commit is contained in:
Jonas Kvinge 2023-06-06 22:23:54 +02:00
parent 50fcda2763
commit f1ae795c0f

View File

@ -182,7 +182,7 @@ void KDSingleApplicationLocalSocket::handleNewConnection()
{
Q_ASSERT(m_localServer);
QLocalSocket *socket;
QLocalSocket *socket = nullptr;
while ((socket = m_localServer->nextPendingConnection())) {
qCDebug(kdsaLocalSocket) << "Got new connection on" << m_socketName << "state" << socket->state();