QTfrontend/netserver.cpp
changeset 2948 3f21a9dc93d0
parent 2377 f3fab2b09e0c
child 3236 4ab3917d7d44
--- a/QTfrontend/netserver.cpp	Sat Mar 06 10:54:24 2010 +0000
+++ b/QTfrontend/netserver.cpp	Sat Mar 06 10:59:20 2010 +0000
@@ -24,25 +24,25 @@
 
 HWNetServer::~HWNetServer()
 {
-	StopServer();
+    StopServer();
 }
 
 bool HWNetServer::StartServer(quint16 port)
 {
-	ds_port = port;
+    ds_port = port;
 
-	QStringList params;
-	params << QString("--port=%1").arg(port);
-	params << "--dedicated=False";
+    QStringList params;
+    params << QString("--port=%1").arg(port);
+    params << "--dedicated=False";
 
-	process.start(bindir->absolutePath() + "/hedgewars-server", params);
+    process.start(bindir->absolutePath() + "/hedgewars-server", params);
 
-	return process.waitForStarted(5000);
+    return process.waitForStarted(5000);
 }
 
 void HWNetServer::StopServer()
 {
-	process.close();
+    process.close();
 }