summaryrefslogtreecommitdiff
path: root/src/gui/windows/serverdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/serverdialog.cpp')
-rw-r--r--src/gui/windows/serverdialog.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp
index 95b40f03d..501557c8c 100644
--- a/src/gui/windows/serverdialog.cpp
+++ b/src/gui/windows/serverdialog.cpp
@@ -245,6 +245,7 @@ void ServerDialog::connectToSelectedServer()
mServerInfo->updateHosts = server.updateHosts;
mServerInfo->freeSources = server.freeSources;
mServerInfo->nonFreeSources = server.nonFreeSources;
+ mServerInfo->docs = server.docs;
settings.persistentIp = mServerInfo->persistentIp;
settings.supportUrl = mServerInfo->supportUrl;
@@ -668,6 +669,10 @@ void ServerDialog::loadServers(const bool addNew)
{
loadServerSources(subNode, server);
}
+ else if (xmlNameEqual(subNode, "docs"))
+ {
+ loadServerSourcesList(subNode, server.docs);
+ }
}
server.version.first = font->getWidth(version);
@@ -699,6 +704,7 @@ void ServerDialog::loadServers(const bool addNew)
mServers[i].packetVersion = server.packetVersion;
mServers[i].freeSources = server.freeSources;
mServers[i].nonFreeSources = server.nonFreeSources;
+ mServers[i].docs = server.docs;
mServersListModel->setVersionString(i, version);
found = true;
break;