From 90b82c6a9f983b90d5bb5b30f397ce977df778a5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 9 Mar 2015 13:31:06 +0300 Subject: Disable reading online list url from config.xml. Some players with very old configuration may had issue with online list before. --- src/defaults.cpp | 1 - src/gui/windows/serverdialog.cpp | 3 --- 2 files changed, 4 deletions(-) (limited to 'src') diff --git a/src/defaults.cpp b/src/defaults.cpp index 34af5f039..3d4668e32 100644 --- a/src/defaults.cpp +++ b/src/defaults.cpp @@ -180,7 +180,6 @@ DefaultsData* getConfigDefaults() AddDEF("ScrollRadius", 0); AddDEF("ScrollCenterOffsetX", 0); AddDEF("ScrollCenterOffsetY", 0); - AddDEF("onlineServerList", ""); AddDEF("enableMumble", false); AddDEF("playBattleSound", true); AddDEF("playGuiSound", true); diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp index a9542e74c..8afbf0e54 100644 --- a/src/gui/windows/serverdialog.cpp +++ b/src/gui/windows/serverdialog.cpp @@ -435,9 +435,6 @@ void ServerDialog::downloadServerList() // Try to load the configuration value for the onlineServerList std::string listFile = branding.getStringValue("onlineServerList"); - if (listFile.empty()) - listFile = config.getStringValue("onlineServerList"); - // Fall back to manaplus.org when neither branding // nor config set it if (listFile.empty()) -- cgit v1.2.3-70-g09d2