summaryrefslogtreecommitdiffstats
path: root/pacman-c++/mainwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pacman-c++/mainwidget.cpp')
-rw-r--r--pacman-c++/mainwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/pacman-c++/mainwidget.cpp b/pacman-c++/mainwidget.cpp
index 6c4012e..df624da 100644
--- a/pacman-c++/mainwidget.cpp
+++ b/pacman-c++/mainwidget.cpp
@@ -237,8 +237,8 @@ Color::Color MainWidget::connectToServer()
237 237
238 // connect to server 238 // connect to server
239 m_socket = new QTcpSocket(this); 239 m_socket = new QTcpSocket(this);
240 m_socket->connectToHost(srv, Constants::port); 240 m_socket->connectToHost(srv, Constants::Networking::port);
241 bool worked = m_socket->waitForConnected(Constants::connection_timeout); 241 bool worked = m_socket->waitForConnected(Constants::Networking::connection_timeout);
242 if (worked) 242 if (worked)
243 { 243 {
244 // additional init 244 // additional init