mirror of
https://github.com/tnodir/fort
synced 2024-11-15 08:35:08 +00:00
UI: ControlManager::onNewConnection: Warn about client count limit
This commit is contained in:
parent
3017a37dcc
commit
b903e5e147
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user