@@ -19,7 +19,6 @@ along with this program. If not, see < http://www.gnu.org/licenses/ >.
#include <QTimer>
#include <QTime>
-#include <QHostInfo>
#include "ServerQuery.h"
#include "ActiveClient.h"
@@ -150,8 +150,8 @@ void App::saveServerList()
foreach(ac, myClients)
{
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);
}
Settings::globalInstance()->setServerList(list);