Fixed adding the hardcoded test servers in a dev. environment

(issue found during debugging of #533)
Added some functions to find similar servers by address/port
This commit is contained in:
Klaus Basan
2015-12-06 05:40:50 +01:00
parent f4eec653c1
commit 22ca6ae922
7 changed files with 80 additions and 10 deletions

View File

@@ -144,8 +144,8 @@ namespace BlackGui
// add a testserver when no servers can be loaded
if (otherServers.isEmpty() && CProject::isRunningInBetaOrDeveloperEnvironment())
{
otherServers.push_back(m_setup.get().fsdTestServers());
CLogMessage(this).info("Added servers (other) for testing");
otherServers.push_back(m_setup.get().fsdTestServersPlusHardcodedServers());
CLogMessage(this).info("Added servers for testing");
}
this->ui->cbp_OtherServers->setServers(otherServers);
}