--- a/QTfrontend/HWApplication.cpp Tue Mar 26 18:52:42 2013 +0100
+++ b/QTfrontend/HWApplication.cpp Sun Apr 07 22:53:40 2013 +0200
@@ -18,6 +18,7 @@
#include "HWApplication.h"
#include <QFileOpenEvent>
+#include <QEvent>
#include "hwform.h"
#include "MessageDialog.h"
@@ -34,7 +35,7 @@
}
#endif
-HWApplication::HWApplication(int &argc, char **argv):
+HWApplication::HWApplication(int &argc, char **argv) :
QApplication(argc, argv)
{
#if !defined(Q_WS_WIN)
@@ -84,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 {