summaryrefslogtreecommitdiff
path: root/src/gui/windows/serverdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-13 03:27:36 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-13 03:27:36 +0300
commit9e400ed9be599e9d74bae6422f8c7e458a016de0 (patch)
tree8a950046ae518748f326618eea103e0c7593f495 /src/gui/windows/serverdialog.cpp
parente2b81d3e9adb1e101d3a28144a0a1f17d91ed958 (diff)
downloadmanaplus-9e400ed9be599e9d74bae6422f8c7e458a016de0.tar.gz
manaplus-9e400ed9be599e9d74bae6422f8c7e458a016de0.tar.bz2
manaplus-9e400ed9be599e9d74bae6422f8c7e458a016de0.tar.xz
manaplus-9e400ed9be599e9d74bae6422f8c7e458a016de0.zip
Show site url in server info window.
Diffstat (limited to 'src/gui/windows/serverdialog.cpp')
-rw-r--r--src/gui/windows/serverdialog.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp
index 6192f040d..2cd006e4e 100644
--- a/src/gui/windows/serverdialog.cpp
+++ b/src/gui/windows/serverdialog.cpp
@@ -650,6 +650,10 @@ void ServerDialog::loadServers(const bool addNew)
{
server.updateMirrors.push_back(XmlChildContent(subNode));
}
+ else if (xmlNameEqual(subNode, "site"))
+ {
+ server.serverUrl = XmlChildContent(subNode);
+ }
}
if (xmlNameEqual(subNode, "updates"))
{
@@ -687,6 +691,7 @@ void ServerDialog::loadServers(const bool addNew)
mServers[i].registerUrl = server.registerUrl;
mServers[i].onlineListUrl = server.onlineListUrl;
mServers[i].supportUrl = server.supportUrl;
+ mServers[i].serverUrl = server.serverUrl;
mServers[i].althostname = server.althostname;
mServers[i].persistentIp = server.persistentIp;
mServers[i].updateMirrors = server.updateMirrors;