mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-02-04 03:17:30 +01:00
KDSingleApplicationLocalSocket: Initialize socket
This commit is contained in:
parent
50fcda2763
commit
f1ae795c0f
@ -182,7 +182,7 @@ void KDSingleApplicationLocalSocket::handleNewConnection()
|
|||||||
{
|
{
|
||||||
Q_ASSERT(m_localServer);
|
Q_ASSERT(m_localServer);
|
||||||
|
|
||||||
QLocalSocket *socket;
|
QLocalSocket *socket = nullptr;
|
||||||
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();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user