--- a/QTfrontend/ui/page/pagenet.cpp Mon Mar 04 10:08:38 2013 +0100
+++ b/QTfrontend/ui/page/pagenet.cpp Mon Mar 04 10:30:56 2013 +0100
@@ -72,7 +72,12 @@
BtnNetSvrStart = formattedButton(QPushButton::tr("Start server"));
BtnNetSvrStart->setMinimumWidth(180);
- BtnNetSvrStart->setVisible(haveServer);
+ QString serverPath = bindir->absolutePath() + "/hedgewars-server";
+#ifdef Q_WS_WIN
+ serverPath += + ".exe";
+#endif
+ QFile server(serverPath);
+ BtnNetSvrStart->setVisible(server.exists());
footerLayout->addStretch();
footerLayout->addWidget(BtnNetSvrStart);