UI: ControlManager::onNewConnection: Warn about client count limit

This commit is contained in:
Nodir Temirkhodjaev 2023-02-18 21:11:06 +03:00
parent 3017a37dcc
commit b903e5e147

View File

@ -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;
}