summaryrefslogtreecommitdiffstats
path: root/src/server/mainwindow/mainwindow.cpp
diff options
context:
space:
mode:
authorSimon Rettberg2016-02-08 15:11:55 +0100
committerSimon Rettberg2016-02-08 15:11:55 +0100
commitb1563f6c6fef7bc54b0554386beb277f39c34936 (patch)
treed5c01d8539ab3dd36650efdc9644f8e81bc33701 /src/server/mainwindow/mainwindow.cpp
parent[client] Increase vnc client connect timeout to account for large pools of cl... (diff)
downloadpvs2-b1563f6c6fef7bc54b0554386beb277f39c34936.tar.gz
pvs2-b1563f6c6fef7bc54b0554386beb277f39c34936.tar.xz
pvs2-b1563f6c6fef7bc54b0554386beb277f39c34936.zip
[CLIENT] Remove stupid hardcoded client limit of 50
Diffstat (limited to 'src/server/mainwindow/mainwindow.cpp')
-rw-r--r--src/server/mainwindow/mainwindow.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/server/mainwindow/mainwindow.cpp b/src/server/mainwindow/mainwindow.cpp
index 400f40a..bdd4603 100644
--- a/src/server/mainwindow/mainwindow.cpp
+++ b/src/server/mainwindow/mainwindow.cpp
@@ -1117,11 +1117,6 @@ void MainWindow::onClientAuthenticated(Client* client)
return;
}
- if (_clientFrames.size() > 50) {
- client->deleteLater();
- return;
- }
-
// New one, create
ConnectionFrame *cf = createFrame();
// Try to load last known position