QTfrontend/HWApplication.cpp
changeset 8803 b3f37e7f9ff4
parent 8799 44e520374cfc
child 9163 67334acaaac7
--- a/QTfrontend/HWApplication.cpp	Wed Mar 27 14:12:05 2013 +0100
+++ b/QTfrontend/HWApplication.cpp	Wed Mar 27 14:12:19 2013 +0100
@@ -35,7 +35,7 @@
 }
 #endif
 
-HWApplication::HWApplication(int &argc,  char **argv):
+HWApplication::HWApplication(int &argc, char **argv) :
     QApplication(argc, argv)
 {
 #if !defined(Q_WS_WIN)
@@ -85,7 +85,7 @@
         } else if (scheme == "hwplay") {
             int port = openEvent->url().port(NETGAME_DEFAULT_PORT);
             if (address == "")
-                address = "netserver.hedgewars.org";
+                address = NETGAME_DEFAULT_SERVER;
             form->NetConnectQuick(address, (quint16) port);
             return true;
         } else {