diff options
Diffstat (limited to 'pacman-c++/mainwidget.cpp')
| -rw-r--r-- | pacman-c++/mainwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pacman-c++/mainwidget.cpp b/pacman-c++/mainwidget.cpp index 8745bf9..49ddf7a 100644 --- a/pacman-c++/mainwidget.cpp +++ b/pacman-c++/mainwidget.cpp | |||
| @@ -31,7 +31,7 @@ MainWidget::MainWidget(QWidget *parent) | |||
| 31 | /* wait for the server to send the first map update (initial map) | 31 | /* wait for the server to send the first map update (initial map) |
| 32 | * WARNING: this will block the gui | 32 | * WARNING: this will block the gui |
| 33 | */ | 33 | */ |
| 34 | m_socket->waitForReadyRead(); | 34 | m_socket->waitForReadyRead(-1); |
| 35 | tick(); | 35 | tick(); |
| 36 | 36 | ||
| 37 | qDebug() << "[Connect] mycolor=" << m_scene->color(); | 37 | qDebug() << "[Connect] mycolor=" << m_scene->color(); |
