1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +02:00

Fix launcher crash at close

This commit is contained in:
nordsoft
2022-11-12 16:46:30 +04:00
parent f0ac73b217
commit 0a149ba73b
6 changed files with 54 additions and 49 deletions

View File

@ -23,7 +23,7 @@ SocketLobby::SocketLobby(QObject *parent) :
void SocketLobby::connectServer(const QString & host, int port, const QString & usr)
{
const int connectionTimeout = 1000;
const int connectionTimeout = 2000;
username = usr;
emit text("Connecting to " + host + ":" + QString::number(port));