|
@@ -150,8 +150,8 @@ void App::saveServerList()
|
|
foreach(ac, myClients)
|
|
foreach(ac, myClients)
|
|
{
|
|
{
|
|
Settings::Server sv;
|
|
Settings::Server sv;
|
|
- sv.address = ac->serverAddressString().split(":").at(0);
|
|
|
|
- sv.port = ac->serverAddressString().split(":").at(1).toUShort();
|
|
|
|
|
|
+ sv.address = ac->serverHostNameString().split(":").at(0);
|
|
|
|
+ sv.port = ac->serverHostNameString().split(":").at(1).toUShort();
|
|
list.push_back(sv);
|
|
list.push_back(sv);
|
|
}
|
|
}
|
|
Settings::globalInstance()->setServerList(list);
|
|
Settings::globalInstance()->setServerList(list);
|