QTfrontend/netserver.cpp
changeset 2377 f3fab2b09e0c
parent 1384 329d3308e2e3
child 2948 3f21a9dc93d0
equal deleted inserted replaced
2376:ece7b87f1334 2377:f3fab2b09e0c
    32 	ds_port = port;
    32 	ds_port = port;
    33 
    33 
    34 	QStringList params;
    34 	QStringList params;
    35 	params << QString("--port=%1").arg(port);
    35 	params << QString("--port=%1").arg(port);
    36 	params << "--dedicated=False";
    36 	params << "--dedicated=False";
    37 	
    37 
    38 	process.start(bindir->absolutePath() + "/hedgewars-server", params);
    38 	process.start(bindir->absolutePath() + "/hedgewars-server", params);
    39 
    39 
    40 	return process.waitForStarted(5000);
    40 	return process.waitForStarted(5000);
    41 }
    41 }
    42 
    42