From b903e5e147c5d647796e76d0de1aa5eda24c3e8b Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Sat, 18 Feb 2023 21:11:06 +0300 Subject: [PATCH] UI: ControlManager::onNewConnection: Warn about client count limit --- src/ui/control/controlmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/control/controlmanager.cpp b/src/ui/control/controlmanager.cpp index cbab17c6..aa3c0b11 100644 --- a/src/ui/control/controlmanager.cpp +++ b/src/ui/control/controlmanager.cpp @@ -129,7 +129,7 @@ void ControlManager::onNewConnection() { while (QLocalSocket *socket = m_server->nextPendingConnection()) { if (m_clients.size() > maxClientsCount) { - qCDebug(LC) << "Client dropped: Count limit"; + qCWarning(LC) << "Client dropped: Count limit"; delete socket; continue; }